Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/child_process/spawn-echo.js')
-rw-r--r--benchmark/child_process/spawn-echo.js2
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