diff --git a/src/package.coffee b/src/package.coffee index 651a1d53e..6a94133d6 100644 --- a/src/package.coffee +++ b/src/package.coffee @@ -523,7 +523,7 @@ class Package if @path.indexOf(path.join(atom.packages.resourcePath, 'node_modules') + path.sep) is 0 # Bundled packages are always considered compatible @compatible = true - else if packageMain = @getMainModulePath() + else if @getMainModulePath() @incompatibleModules = @getIncompatibleNativeModules() @compatible = @incompatibleModules.length is 0 else