geddy-genutils
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -26,5 +26,11 @@ var jake = require('jake') | ||
{ | ||
// removes flags from the arguments | ||
function filterFlags(arg) | ||
{ | ||
return arg.substr(0, 1) !== '-'; | ||
} | ||
// keep support of old style gen syntax | ||
if (args.length > 0 && validTasks.indexOf(args[0]) === -1) { | ||
args = ['default[' + args.join(',') + ']']; | ||
args = ['default[' + args.filter(filterFlags).join(',') + ']']; | ||
} | ||
@@ -31,0 +37,0 @@ else if (args.length == 0) { |
{ | ||
"name": "geddy-genutils", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "General purpose utilities for geddy generators.", | ||
@@ -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
12347
414