mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Only look for JSON keymaps
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = (grunt) ->
|
||||
getKeymaps = (appDir) ->
|
||||
keymapsPath = path.join(appDir, 'keymaps')
|
||||
keymaps = {}
|
||||
for keymapPath in fs.listSync(keymapsPath, ['.cson', '.json'])
|
||||
for keymapPath in fs.listSync(keymapsPath, ['.json'])
|
||||
name = path.basename(keymapPath, path.extname(keymapPath))
|
||||
continue unless OtherPlatforms.indexOf(name) is -1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user