Skip to content
Permalink
Browse files

test: switch to object spread in common/benchmark.js

PR-URL: #30309
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
palmires authored and Trott committed Nov 6, 2019
1 parent 0271f1b commit 8acb646478e13fb61fc844c6f873032992674ae5
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/common/benchmark.js
@@ -18,7 +18,7 @@ function runBenchmark(name, args, env) {

argv.push(name);

const mergedEnv = Object.assign({}, process.env, env);
const mergedEnv = { ...process.env, ...env };

const child = fork(runjs, argv, {
env: mergedEnv,

0 comments on commit 8acb646

Please sign in to comment.
You can’t perform that action at this time.