Skip to content

Commit 3e675e4

Browse files
evanlucasEvan Lucas
authored and
Evan Lucas
committed
benchmark: don't use template strings
When running benchmark/compare.js, it is typical to run a version of node that does not support template strings. This provides backwards compatibility for comparing benchmarks using older versions of node. PR-URL: #714 Reviewed-By: Chris Dickinson <[email protected]>
1 parent 8ac8b76 commit 3e675e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (module === require.main) {
2727
});
2828

2929
if (filteredTests.length === 0) {
30-
console.error(`${testFilter} is not found in \n ${tests.join(' \n')}`);
30+
console.error('%s is not found in \n %j', testFilter, tests);
3131
return;
3232
}
3333
tests = filteredTests;

0 commit comments

Comments
 (0)