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
version: '3'tasks:
hello-broken:
cmd: echo 'Hello World from Task!'deps:
- run-firsthello-works:
cmds: [echo 'Hello World from Task!']deps:
- run-firstrun-first: echo "This as a dependency should run first"
Gives the following output:
$ task hello-works -v
task: "hello-works" started
task: "run-first" started
task: [run-first] echo"This as a dependency should run first"
This as a dependency should run first
task: "run-first" finished
task: [hello-works] echo'Hello World from Task!'
Hello World from Task!
task: "hello-works" finished
We would expect the hello-broken to either fail with a message that cmd: is an unsupported key or to behave similarly to the above output.
Actual output:
$ task hello-broken -v
task: "hello-broken" started
task: [hello-broken] echo'Hello World from Task!'
Hello World from Task!
task: "hello-broken" finished
Task version: 3.17.0
Operating System: Ubuntu
The text was updated successfully, but these errors were encountered:
I was also confused by this. Thought there is a nice short syntax for tasks with a single cmd (which would be my favorite), but then they just didn't do anything 😓
Hi @tennox and @Rots. Looks like this was fixed in #1131 and we forgot to close this issue. This change was released in v3.26.0, so updating to any version newer than this should fix this issue.
As discussed in https://discord.com/channels/974121106208354339/1035111266005569567
With this input
Gives the following output:
We would expect the
hello-broken
to either fail with a message thatcmd:
is an unsupported key or to behave similarly to the above output.Actual output:
The text was updated successfully, but these errors were encountered: