Description
Issue
There is a different behaviour when installing with npm or brew:
If you install with npm:
npm install -g @go-task/cli
task test; echo $?
You will see the following:
task: [test] exit 255
task: Failed to run task "test": exit status 255
0
If you install with for example brew:
brew install go-task
task test; echo$?
task: [test] exit 255
task: Failed to run task "test": exit status 255
201
Expected behaviour
Should always return a non-zero exit code.
Version
3.45.4
Operating system
Tested on Mac & Ubuntu
Experiments Enabled
No response
Example Taskfile
version: '3'
tasks:
test:
cmds:
- exit 255
Description
Issue
There is a different behaviour when installing with
npmorbrew:If you install with
npm:You will see the following:
If you install with for example
brew:Expected behaviour
Should always return a non-zero exit code.
Version
3.45.4
Operating system
Tested on Mac & Ubuntu
Experiments Enabled
No response
Example Taskfile