mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Don't throw an error when ATOM_HOME does not exist
This commit is contained in:
@@ -113,9 +113,11 @@ function setupAtomHome ({setPortable}) {
|
||||
|
||||
try {
|
||||
atomHome = fs.realpathSync(atomHome)
|
||||
} finally {
|
||||
process.env.ATOM_HOME = atomHome
|
||||
} catch (e) {
|
||||
// Don't throw an error if atomHome doesn't exist.
|
||||
}
|
||||
|
||||
process.env.ATOM_HOME = atomHome
|
||||
}
|
||||
|
||||
function setupCompileCache () {
|
||||
|
||||
Reference in New Issue
Block a user