mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Return early if ATOM_HOME is already set
This commit is contained in:
@@ -170,6 +170,10 @@
|
||||
}
|
||||
|
||||
var setupAtomHome = function () {
|
||||
if (process.env.ATOM_HOME) {
|
||||
return
|
||||
}
|
||||
|
||||
// Ensure ATOM_HOME is always set before anything else is required
|
||||
// This is because of a difference in Linux not inherited between browser and render processes
|
||||
// issue #5142
|
||||
|
||||
Reference in New Issue
Block a user