mirror of
https://gitea.com/gitea/act_runner
synced 2026-05-06 01:37:57 +02:00
core(deps): bump golang-cilint to v2.0.2 (#83)
This commit is contained in:
@@ -241,7 +241,7 @@ func gitCmd(args ...string) error {
|
||||
err := cmd.Run()
|
||||
if exitError, ok := err.(*exec.ExitError); ok {
|
||||
if waitStatus, ok := exitError.Sys().(syscall.WaitStatus); ok {
|
||||
return fmt.Errorf("Exit error %d", waitStatus.ExitStatus())
|
||||
return fmt.Errorf("exit error %d", waitStatus.ExitStatus())
|
||||
}
|
||||
return exitError
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user