diff options
author | Evan Lucas <evanlucas@me.com> | 2015-02-04 02:24:28 -0600 |
---|---|---|
committer | Evan Lucas <evan@btc.com> | 2015-02-04 03:53:22 -0600 |
commit | 3e675e44b59f1be8e5581de000f3cb17ef747c14 (patch) | |
tree | e947d6455a1b7a58853b650eb091469f0e842ed8 /benchmark/common.js | |
parent | 8ac8b760ac74e5a6938a49e563406716804672cb (diff) | |
download | android-node-v8-3e675e44b59f1be8e5581de000f3cb17ef747c14.tar.gz android-node-v8-3e675e44b59f1be8e5581de000f3cb17ef747c14.tar.bz2 android-node-v8-3e675e44b59f1be8e5581de000f3cb17ef747c14.zip |
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>
Diffstat (limited to 'benchmark/common.js')
-rw-r--r-- | benchmark/common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/common.js b/benchmark/common.js index cd75279e65..c4a5f7ebb6 100644 --- a/benchmark/common.js +++ b/benchmark/common.js @@ -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; |