diff options
Diffstat (limited to 'benchmark/child_process/spawn-echo.js')
-rw-r--r-- | benchmark/child_process/spawn-echo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/child_process/spawn-echo.js b/benchmark/child_process/spawn-echo.js index 62f46fb4c0e..8f5c80cd23b 100644 --- a/benchmark/child_process/spawn-echo.js +++ b/benchmark/child_process/spawn-echo.js @@ -15,7 +15,7 @@ function go(n, left) { return bench.end(n); const child = spawn('echo', ['hello']); - child.on('exit', function(code) { + child.on('exit', (code) => { if (code) process.exit(code); else |