Skip to content

Commit

Permalink
benchmark: don't use template strings
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
evanlucas authored and Evan Lucas committed Feb 4, 2015
1 parent 8ac8b76 commit 3e675e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (module === require.main) {
});

if (filteredTests.length === 0) {
console.error(`${testFilter} is not found in \n ${tests.join(' \n')}`);
console.error('%s is not found in \n %j', testFilter, tests);
return;
}
tests = filteredTests;
Expand Down

0 comments on commit 3e675e4

Please sign in to comment.