mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Use ATOM_HOME when setting configDirPath
This commit is contained in:
@@ -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.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user