mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Don't override process.env variables
This commit is contained in:
@@ -88,7 +88,7 @@ module.exports = function (packagedAppPath) {
|
||||
childProcess.execFileSync(
|
||||
nodeBundledInElectronPath,
|
||||
[verifySnapshotScriptPath, snapshotScriptPath],
|
||||
{env: Object.assign(process.env, {ELECTRON_RUN_AS_NODE: 1})}
|
||||
{env: Object.assign({}, process.env, {ELECTRON_RUN_AS_NODE: 1})}
|
||||
)
|
||||
|
||||
const generatedStartupBlobPath = path.join(CONFIG.buildOutputPath, 'snapshot_blob.bin')
|
||||
|
||||
Reference in New Issue
Block a user