Skip to content

Commit

Permalink
Merge pull request #168 from Methy42/master
Browse files Browse the repository at this point in the history
Create a new object as the env for the ping process, without overwrit…
  • Loading branch information
mondwan authored Oct 21, 2024
2 parents 842a042 + b80a098 commit f05ea52
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' }),

Check failure on line 121 in lib/builder/linux.js

View workflow job for this annotation

GitHub Actions / buildTestCoverage (14.x)

There should be no space after '{'

Check failure on line 121 in lib/builder/linux.js

View workflow job for this annotation

GitHub Actions / buildTestCoverage (14.x)

There should be no space before '}'

Check failure on line 121 in lib/builder/linux.js

View workflow job for this annotation

GitHub Actions / buildTestCoverage (16.x)

There should be no space after '{'

Check failure on line 121 in lib/builder/linux.js

View workflow job for this annotation

GitHub Actions / buildTestCoverage (16.x)

There should be no space before '}'

Check failure on line 121 in lib/builder/linux.js

View workflow job for this annotation

GitHub Actions / buildTestCoverage (18.x)

There should be no space after '{'

Check failure on line 121 in lib/builder/linux.js

View workflow job for this annotation

GitHub Actions / buildTestCoverage (18.x)

There should be no space before '}'
};
};

Expand Down

0 comments on commit f05ea52

Please sign in to comment.