extend-grunt-api
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -26,4 +26,10 @@ module.exports = function(grunt){ | ||
return task ? task.split(':')[0] : 'default'; | ||
}, | ||
getCurTarget: function(){ | ||
var argv = process.argv; | ||
var task = argv[2]; // maybe like "grunt", then argv[2] is undefined | ||
var ret = task && task.length ? task.split(':')[1] : ''; | ||
} | ||
}); | ||
}; |
{ | ||
"name": "extend-grunt-api", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "extend grunt api, like grunt.file.copyDir...", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2719
28