mirror of https://github.com/nodejs/node.git
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>pull/697/merge
parent
8ac8b760ac
commit
3e675e44b5
|
@ -27,7 +27,7 @@ if (module === require.main) {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (filteredTests.length === 0) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
tests = filteredTests;
|
tests = filteredTests;
|
||||||
|
|
Loading…
Reference in New Issue