mirror of
https://github.com/go-task/task.git
synced 2026-07-08 06:28:44 +00:00
refactor: simplify some controls
This commit is contained in:
@@ -46,8 +46,5 @@ func RunCommand(opts *RunCommandOptions) error {
|
||||
Stdout: opts.Stdout,
|
||||
Stderr: opts.Stderr,
|
||||
}
|
||||
if err = r.Run(); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return r.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user