Merge pull request #1631 from edjubuh/patch-1

Don't specify file extension when requiring modules
This commit is contained in:
Glavin Wiechert 2017-05-28 00:24:03 -03:00 committed by GitHub
commit 8ead568182
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# global atom # global atom
"use strict" "use strict"
pkg = require('../package.json') pkg = require('../package')
# Dependencies # Dependencies
plugin = module.exports plugin = module.exports
@ -615,7 +615,7 @@ plugin.addLanguageCommands = ->
) )
)(language) )(language)
plugin.config = _.merge(require('./config.coffee'), defaultLanguageOptions) plugin.config = _.merge(require('./config'), defaultLanguageOptions)
plugin.activate = -> plugin.activate = ->
@subscriptions = new CompositeDisposable @subscriptions = new CompositeDisposable
@subscriptions.add handleSaveEvent() @subscriptions.add handleSaveEvent()