Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
child_process: remove extra shallow copy
  • Loading branch information
zero1five committed May 21, 2019
commit 5f2785c3a0a16a513d5f48c7323e6a31be4356d2
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