mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Use Atom::getConfigDirPath instead of accessing through config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user