fix: enforce .gz instead of json.gz in performance tools (#2305)

Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/2303
This commit is contained in:
Alex Rudenko
2026-07-06 11:35:49 +02:00
committed by GitHub
parent b703f2ce20
commit b06e39b164
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ export type SupportedExtensions =
| '.html'
| '.txt'
| '.csv'
| '.json.gz';
| '.gz';
/**
* Only add methods used by tools/*.
+1 -1
View File
@@ -205,7 +205,7 @@ async function stopTracingAndAppendOutput(
const file = await context.saveFile(
dataToWrite,
filePath,
filePath.endsWith('.gz') ? '.json.gz' : '.json',
filePath.endsWith('.gz') ? '.gz' : '.json',
);
response.appendResponseLine(
`The raw trace data was saved to ${file.filename}.`,