From 3e675e44b59f1be8e5581de000f3cb17ef747c14 Mon Sep 17 00:00:00 2001 From: Evan Lucas Date: Wed, 4 Feb 2015 02:24:28 -0600 Subject: 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 --- benchmark/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmark/common.js') 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; -- cgit v1.2.3