mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Only read package.json once
This commit is contained in:
@@ -138,8 +138,7 @@ module.exports = (grunt) ->
|
||||
'vendor'
|
||||
]
|
||||
|
||||
{devDependencies} = grunt.file.readJSON('package.json')
|
||||
{dependencies} = grunt.file.readJSON('package.json')
|
||||
{devDependencies, dependecies} = grunt.file.readJSON('package.json')
|
||||
for child in fs.readdirSync('node_modules')
|
||||
directory = path.join('node_modules', child)
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user