From 5de45a4a6b778d5119389bdb9e802568d300d14a Mon Sep 17 00:00:00 2001 From: Elliot Berman Date: Wed, 26 Apr 2017 22:39:37 -0400 Subject: [PATCH] Don't specify filetype when requiring --- src/beautify.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/beautify.coffee b/src/beautify.coffee index 46a535b..128b8ee 100644 --- a/src/beautify.coffee +++ b/src/beautify.coffee @@ -1,6 +1,6 @@ # global atom "use strict" -pkg = require('../package.json') +pkg = require('../package') # Dependencies plugin = module.exports @@ -604,7 +604,7 @@ plugin.migrateSettings = -> ) atom.notifications.addSuccess("Successfully migrated options: #{unsupportedOptions.join(', ')}") -plugin.config = _.merge(require('./config.coffee'), defaultLanguageOptions) +plugin.config = _.merge(require('./config'), defaultLanguageOptions) plugin.activate = -> @subscriptions = new CompositeDisposable @subscriptions.add handleSaveEvent()