mirror of
https://github.com/atom/atom.git
synced 2026-02-07 21:25:05 -05:00
Extensions have a src and specs directory now. Move existing extension specs.
Move the extensions spec code inside of the extension's spec directory. Move source code to the extension's src directory
This commit is contained in:
@@ -74,7 +74,7 @@ windowAdditions =
|
||||
throw new Error("Extension '#{name}' does not exist at path '#{extensionPath}'") unless fs.exists(extensionPath)
|
||||
|
||||
extension = rootView.activateExtension(require(extensionPath), config)
|
||||
extensionKeymapPath = fs.join(fs.directory(extensionPath), "keymap.coffee")
|
||||
extensionKeymapPath = fs.join(fs.directory(extensionPath), "src/keymap.coffee")
|
||||
require extensionKeymapPath if fs.exists(extensionKeymapPath)
|
||||
extension
|
||||
catch e
|
||||
|
||||
Reference in New Issue
Block a user