Skip to content

Commit

Permalink
lib: avoid changing process.config (#2322)
Browse files Browse the repository at this point in the history
PR-URL: #2322
Refs: nodejs/node#36902
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
  • Loading branch information
targos authored Feb 14, 2021
1 parent c3c510d commit 392b776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function configure (gyp, argv, callback) {

log.verbose('build/' + configFilename, 'creating config file')

var config = process.config || {}
var config = Object.assign({}, process.config)
var defaults = config.target_defaults
var variables = config.variables

Expand Down

0 comments on commit 392b776

Please sign in to comment.