You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task arguments can't contain an equal symbol.
Currently, the = symbol is used to determine that an environment variable is being passed, and this applies to task arguments as well.
Jakefile:
task('test', function(x) {
console.log(x);
});
jake test[abc def=123] yields:
abc
jake test["abc def=123"] yields:
jake aborted.
Error: Unknown task "default"
at TaskBase.nextPrereq (/Users/jcarnes/Work/jake/lib/task/task.js:196:15)
at TaskBase.runPrereqs (/Users/jcarnes/Work/jake/lib/task/task.js:170:14)
(See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
From comment in #310.
Task arguments can't contain an equal symbol.
Currently, the = symbol is used to determine that an environment variable is being passed, and this applies to task arguments as well.
Jakefile:
jake test[abc def=123]
yields:jake test["abc def=123"]
yields:The text was updated successfully, but these errors were encountered: