mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Merge pull request #12306 from atom/as-fix-missing-atom-home-path
Don't throw an error when $ATOM_HOME does not exist
This commit is contained in:
commit
219c92f6fb
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user