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