mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-07 16:48:02 +08:00
fix(specs): Add check when patching Google Inbox keymaps from 07d218d
- This was preventing the specs from running
This commit is contained in:
parent
3cdd831e22
commit
3086806446
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class KeymapManager extends AtomKeymap
|
|||
templateKeymapPath = null
|
||||
reloadTemplateKeymap = =>
|
||||
@removeBindingsFromSource(templateKeymapPath) if templateKeymapPath
|
||||
templateFile = NylasEnv.config.get(templateConfigKey).replace("GoogleInbox", "Inbox by Gmail")
|
||||
templateFile = NylasEnv.config.get(templateConfigKey)?.replace("GoogleInbox", "Inbox by Gmail")
|
||||
if templateFile
|
||||
templateKeymapPath = fs.resolve(path.join(@resourcePath, 'keymaps', 'templates'), templateFile, ['cson', 'json'])
|
||||
if fs.existsSync(templateKeymapPath)
|
||||
|
|
Loading…
Reference in a new issue