Merge pull request #11897 from atom/mkt-use-apm-with-npm3-and-node-4

Use apm@1.12.2 with Node v4 and npm v3 \o/
This commit is contained in:
Nathan Sobo
2016-07-25 10:32:00 -06:00
committed by GitHub
9 changed files with 31 additions and 30 deletions

View File

@@ -40,6 +40,8 @@ module.exports = (grunt) ->
continue if path.basename(moduleDirectory) is '.bin'
metadataPath = path.join(moduleDirectory, 'package.json')
continue unless fs.existsSync(metadataPath)
metadata = grunt.file.readJSON(metadataPath)
continue unless metadata?.engines?.atom?