1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

Update some tools and fix error and calling exit 0

Fixes #251
This commit is contained in:
Andrey Nering
2019-10-27 18:14:22 -03:00
parent e1dcd0b441
commit 9a8442c946
104 changed files with 3399 additions and 836 deletions

View File

@@ -62,7 +62,7 @@ func RunCommand(ctx context.Context, opts *RunCommandOptions) error {
// IsExitError returns true the given error is an exis status error
func IsExitError(err error) bool {
switch err.(type) {
case interp.ExitStatus, interp.ShellExitStatus:
case interp.ExitStatus:
return true
default:
return false