You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: archive.go:1138:8: comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
if err == io.ErrClosedPipe {
^
Error: archive.go:1495:46: non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
pipeW.CloseWithError(fmt.Errorf("%s: %s", err, errBuf.String()))
^
Error: changes_test.go:37:20: type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
if exiterr, ok := err.(*exec.ExitError); ok {
^
Error: copy_unix_test.go:358:5: comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
if err != ErrDirNotExists {
^
Error: copy_unix_test.go:367:5: comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
if err != ErrDirNotExists {
^
Error: diff.go:226:63: non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
return true, fmt.Errorf("failed to decompress archive: %v", err)
^
Error: diff.go:235:70: non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
return false, fmt.Errorf("failed to read next archive header: %v", err)
^
Error: utils_test.go:78:15: type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
if _, ok := err.(breakoutError); !ok {
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
0 commit comments