mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Move env assignment into parseCommandLine
A bit of a misnomer but makes things more testable so I’ll accept it until we can do more overhaul.
This commit is contained in:
@@ -130,7 +130,7 @@ module.exports = function parseCommandLine (processArgs) {
|
||||
resourcePath, devResourcePath, pathsToOpen, urlsToOpen, executedFrom, test,
|
||||
version, pidToKillWhenClosed, devMode, safeMode, newWindow, logFile, socketPath,
|
||||
userDataDir, profileStartup, timeout, setPortable, clearWindowState,
|
||||
addToLastWindow, mainProcess
|
||||
addToLastWindow, mainProcess, env: process.env
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user