From 390be558e26d38f263db0c037692fc1937225936 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 3 Feb 2015 16:28:42 -0800 Subject: [PATCH] Use ATOM_HOME when setting configDirPath --- src/atom.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom.coffee b/src/atom.coffee index b2acd363e..0036ba420 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -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. #