We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: Deno 2.1.2
Example: with following deno.json
{ "tasks": { "deploy": { "command": "deno run --env-file -A jsr:@deno/deployctl deploy", "dependencies": [ "build" ] }, "build": "vite build --mode client && vite build" } }
and when I try to deploy a project:
$ deno task deploy --prod Task build vite build --mode client && vite build "--prod" ... ("Unknown option" error will be occurred here)
I want to pass the --prod argument to only deploy task, but how to?
--prod
deploy
The text was updated successfully, but these errors were encountered:
fix(task): only pass args to root task (#27213)
d5b63bb
When we run `deno task` with args like `deno task foo arg` the argument should only be passed to the root task, not to its dependencies. Fixes #27206
1bf665d
marvinhagemeister
Successfully merging a pull request may close this issue.
Version: Deno 2.1.2
Example: with following deno.json
and when I try to deploy a project:
I want to pass the
--prod
argument to onlydeploy
task, but how to?The text was updated successfully, but these errors were encountered: