mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
don't try to loadNpmTasks grunt-cli
This commit is contained in:
1 parent
b3c87ea017
commit
3b8af033cd
1 file changed
+1
@@ -29,6 +29,7 @@ module.exports = function(grunt) {
|
||||
|
||||
Object.keys(grunt.file.readJSON('package.json').devDependencies)
|
||||
.filter(function(npmTaskName){ return npmTaskName.indexOf('grunt-') === 0;})
|
||||
.filter(function(npmTaskName){ return npmTaskName != 'grunt-cli' })
|
||||
.forEach(function(npmTaskName){
|
||||
grunt.loadNpmTasks(npmTaskName);
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user