Sitelet https://github.com/nodejs/node/pull/50352/commits/cb1424536a106a38bd19939db559ca01796a72be
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Lint fixes
  • Loading branch information
lukealbao committed Oct 23, 2023
commit cb1424536a106a38bd19939db559ca01796a72be
8 changes: 4 additions & 4 deletions test/v8-updates/test-linux-perf-logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function runTest(test) {
};

const args = test.nodeFlags.concat(fixtures.path('linux-perf-logger.js'));
const run = spawnSync(process.execPath, args, {cwd: tmpdir.path, encoding: 'utf8'});
const run = spawnSync(process.execPath, args, { cwd: tmpdir.path, encoding: 'utf8' });
if (run.error) {
report.errors.push(run.error.stack);
return report;
Expand Down Expand Up @@ -121,13 +121,13 @@ function runTest(test) {
}

function serializeError(report, index) {
return `[ERROR ${index+1}] ${report.title}
return `[ERROR ${index + 1}] ${report.title}
Errors:
${report.errors.map((err, i) => `${i+1}. ${err}`).join('\n')}
${report.errors.map((err, i) => `${i + 1}. ${err}`).join('\n')}
Perf map content:
${report.perfMap}
</end perf map content>
`
`;
}

function runSuite() {
Expand Down