From 7d1be155fae2c7195cc98dffe65aa93d6a8415dc Mon Sep 17 00:00:00 2001 From: probablycorey Date: Tue, 21 Jan 2014 17:55:05 -0800 Subject: [PATCH] :lipstick: --- src/keymap.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/keymap.coffee b/src/keymap.coffee index fb3bf9597..3c3a8ec44 100644 --- a/src/keymap.coffee +++ b/src/keymap.coffee @@ -146,8 +146,7 @@ class Keymap otherPlatforms = platforms.filter (name) -> name != process.platform for filePath in fs.listSync(directoryPath, ['.cson', '.json']) - platform = path.basename(filePath).match(/^(\w+)\.\w+$/)?[1] - continue if platform in otherPlatforms + continue if path.basename(filePath, path.extname(filePath)) in otherPlatforms @load(filePath) load: (path) ->