We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 951fef2 commit e80f7f6Copy full SHA for e80f7f6
1 file changed
bench/run.ts
@@ -17,8 +17,8 @@ export default <T extends Runnable>(meta: ImportMeta, b: T): T => {
17
});
18
} else if (file.endsWith('.json')) {
19
b.run({ env, reporter: json_reporter }).then((content) => {
20
- let str = JSON.stringify(content, null, 2);
21
- console.log(JSON.stringify(content, null, 2));
+ const str = JSON.stringify(content, null, 2);
+ console.log(str);
22
writeFileSync(file, str);
23
24
} else throw new Error('unknown extension');
0 commit comments