mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Return empty string unless configDirPath is passed
This commit is contained in:
@@ -20,6 +20,8 @@ KeymapManager::loadBundledKeymaps = ->
|
||||
@emitter.emit 'did-load-bundled-keymaps'
|
||||
|
||||
KeymapManager::getUserKeymapPath = ->
|
||||
return "" unless @configDirPath?
|
||||
|
||||
if userKeymapPath = CSON.resolve(path.join(@configDirPath, 'keymap'))
|
||||
userKeymapPath
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user