-
-
Notifications
You must be signed in to change notification settings - Fork 741
Open
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.
Description
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
ikrbasak, kirkrodrigues, kevin-from-atlassian and ktoublanc
Metadata
Metadata
Assignees
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.