blaze-performance-tester 3.2.8 → 3.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -2
- package/dist/index.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -192,7 +192,7 @@ function loadBaselineData(filePath) {
|
|
|
192
192
|
return JSON.parse(fs.readFileSync(resolved, "utf-8"));
|
|
193
193
|
}
|
|
194
194
|
} catch (e) {
|
|
195
|
-
console.error(`\u274C Failed to parse baseline telemetry file: ${e}`);
|
|
195
|
+
console.error(`\u274C Failed to parse baseline telemetry file: ${e.message || e}`);
|
|
196
196
|
}
|
|
197
197
|
return null;
|
|
198
198
|
}
|
|
@@ -1453,7 +1453,7 @@ function exportHtmlDashboard(history, config, verdictReason, semanticReport, res
|
|
|
1453
1453
|
fs.writeFileSync(config.outputHtml, htmlContent, "utf-8");
|
|
1454
1454
|
console.log(`\u{1F4CA} Standalone Dashboard exported successfully to: ${path.resolve(config.outputHtml)}`);
|
|
1455
1455
|
} catch (err) {
|
|
1456
|
-
console.error(`\u274C Failed to write HTML output dashboard: ${err}`);
|
|
1456
|
+
console.error(`\u274C Failed to write HTML output dashboard: ${err.message || err}`);
|
|
1457
1457
|
}
|
|
1458
1458
|
}
|
|
1459
1459
|
function printUsage() {
|
|
Binary file
|