Use ATOM_HOME when setting configDirPath

This commit is contained in:
Kevin Sawicki
2015-02-03 16:28:42 -08:00
parent 4acd5951f5
commit 390be558e2

View File

@@ -109,7 +109,7 @@ class Atom extends Model
#
# Returns the absolute path to ~/.atom
@getConfigDirPath: ->
@configDirPath ?= fs.absolute('~/.atom')
@configDirPath ?= process.env.ATOM_HOME
# Get the path to Atom's storage directory.
#