Skip to content

Commit

Permalink
child_process: remove extra shallow copy
Browse files Browse the repository at this point in the history
PR-URL: #27801
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
zero1five authored and targos committed May 28, 2019
1 parent 2b7ad12 commit a9f9557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/child_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ function spawnSync(file, args, options) {
maxBuffer: MAX_BUFFER,
...opts.options
};
options = opts.options = Object.assign(defaults, opts.options);
options = opts.options = defaults;

debug('spawnSync', opts.args, options);

Expand Down

0 comments on commit a9f9557

Please sign in to comment.