From fa1600c53d75f354fdf2ce2a80d5deac0ff0b2bc Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 14 Nov 2013 12:39:16 -0800 Subject: [PATCH] Use Atom::getConfigDirPath instead of accessing through config --- src/atom.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom.coffee b/src/atom.coffee index ec7e420ea..2dfc70a68 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -327,7 +327,7 @@ class Atom @rootView.trigger 'beep' requireUserInitScript: -> - userInitScriptPath = path.join(@config.configDirPath, "user.coffee") + userInitScriptPath = path.join(@getConfigDirPath(), "user.coffee") try require userInitScriptPath if fs.isFileSync(userInitScriptPath) catch error