diff --git a/benchmark/common.js b/benchmark/common.js index 77ebe0bd1dc37f..50c8e21244fb45 100644 --- a/benchmark/common.js +++ b/benchmark/common.js @@ -43,7 +43,7 @@ Benchmark.prototype._parseArgs = function(argv, configs) { // Parse configuration arguments for (const arg of argv) { const match = arg.match(/^(.+?)=([\s\S]*)$/); - if (!match || !match[1]) { + if (!match) { console.error('bad argument: ' + arg); process.exit(1); }