mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
require.resolve all the things
This commit is contained in:
@@ -58,7 +58,7 @@ windowAdditions =
|
||||
|
||||
loadKeyBindings: ->
|
||||
KeyBinder.load "#{@appRoot}/static/key-bindings.coffee"
|
||||
if fs.isFile "~/.atomicity/key-bindings.coffee"
|
||||
if fs.isFile require.resolve "~/.atomicity/key-bindings.coffee"
|
||||
KeyBinder.load "~/.atomicity/key-bindings.coffee"
|
||||
|
||||
loadSettings: ->
|
||||
|
||||
Reference in New Issue
Block a user