We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6798b1 commit b0b90afCopy full SHA for b0b90af
pkg/cmd/issue/create/create.go
@@ -249,6 +249,7 @@ func createRun(opts *CreateOptions) (err error) {
249
250
if action == prShared.CancelAction {
251
fmt.Fprintln(opts.IO.ErrOut, "Discarding.")
252
+ err = cmdutil.SilentError
253
return
254
}
255
} else {
pkg/cmd/pr/create/create.go
@@ -299,7 +299,8 @@ func createRun(opts *CreateOptions) (err error) {
299
300
if action == shared.CancelAction {
301
302
- return nil
303
+ return
304
305
306
err = handlePush(*opts, *ctx)
0 commit comments