Skip to content

Commit

Permalink
Create a new object as the env for the ping process, without overwrit…
Browse files Browse the repository at this point in the history
…ing the main process env

refs 166
  • Loading branch information
tanghuayu committed Apr 23, 2024
1 parent 842a042 commit b80a098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builder/linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ builder.getCommandArguments = function (target, config) {
builder.getSpawnOptions = function () {
return {
shell: false,
env: Object.assign(process.env, {LANG: 'C'}),
env: Object.assign({}, process.env, { LANG: 'C' }),
};
};

Expand Down

0 comments on commit b80a098

Please sign in to comment.