Skip to content

Commit f358e60

Browse files
committed
use SilentError
1 parent ec25b73 commit f358e60

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/cmd/auth/status/status.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,7 @@ func statusRun(opts *StatusOptions) error {
143143
}
144144

145145
if failed {
146-
// TODO unsure about this; want non-zero exit but don't need to print anything more. Is the
147-
// non-zero exit worth it? Should we tweak error handling to not print "" errors?
148-
return errors.New("")
146+
return cmdutil.SilentError
149147
}
150148

151149
return nil

0 commit comments

Comments
 (0)