Skip to content

Commit e80f7f6

Browse files
committed
fix
1 parent 951fef2 commit e80f7f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bench/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default <T extends Runnable>(meta: ImportMeta, b: T): T => {
1717
});
1818
} else if (file.endsWith('.json')) {
1919
b.run({ env, reporter: json_reporter }).then((content) => {
20-
let str = JSON.stringify(content, null, 2);
21-
console.log(JSON.stringify(content, null, 2));
20+
const str = JSON.stringify(content, null, 2);
21+
console.log(str);
2222
writeFileSync(file, str);
2323
});
2424
} else throw new Error('unknown extension');

0 commit comments

Comments
 (0)