Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task arguments can't contain = #311

Open
welearnednothing opened this issue Dec 11, 2015 · 0 comments
Open

Task arguments can't contain = #311

welearnednothing opened this issue Dec 11, 2015 · 0 comments

Comments

@welearnednothing
Copy link
Contributor

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:

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant