diff options
Diffstat (limited to 'benchmark/_http-benchmarkers.js')
-rw-r--r-- | benchmark/_http-benchmarkers.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/_http-benchmarkers.js b/benchmark/_http-benchmarkers.js index 5429bf386d..e096efc71b 100644 --- a/benchmark/_http-benchmarkers.js +++ b/benchmark/_http-benchmarkers.js @@ -7,9 +7,9 @@ exports.PORT = process.env.PORT || 12346; function AutocannonBenchmarker() { this.name = 'autocannon'; - this.autocannon_exe = process.platform === 'win32' - ? 'autocannon.cmd' - : 'autocannon'; + this.autocannon_exe = process.platform === 'win32' ? + 'autocannon.cmd' : + 'autocannon'; const result = child_process.spawnSync(this.autocannon_exe, ['-h']); this.present = !(result.error && result.error.code === 'ENOENT'); } |