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: https://github.com/iojs/io.js/pull/714 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
This commit is contained in:
parent
8ac8b760ac
commit
3e675e44b5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user