Merge pull request #1631 from edjubuh/patch-1
Don't specify file extension when requiring modules
This commit is contained in:
commit
8ead568182
|
@ -1,6 +1,6 @@
|
|||
# global atom
|
||||
"use strict"
|
||||
pkg = require('../package.json')
|
||||
pkg = require('../package')
|
||||
|
||||
# Dependencies
|
||||
plugin = module.exports
|
||||
|
@ -615,7 +615,7 @@ plugin.addLanguageCommands = ->
|
|||
)
|
||||
)(language)
|
||||
|
||||
plugin.config = _.merge(require('./config.coffee'), defaultLanguageOptions)
|
||||
plugin.config = _.merge(require('./config'), defaultLanguageOptions)
|
||||
plugin.activate = ->
|
||||
@subscriptions = new CompositeDisposable
|
||||
@subscriptions.add handleSaveEvent()
|
||||
|
|
Loading…
Reference in New Issue