Skip to content

Commit ecfbaaa

Browse files
committed
linter appeasement
1 parent e7ab1b7 commit ecfbaaa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/cmd/gist/edit/edit.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ func editRun(opts *EditOptions) error {
100100
Message: "Edit which file?",
101101
Options: candidates,
102102
}, &filename)
103+
104+
if err != nil {
105+
return fmt.Errorf("could not prompt: %w", err)
106+
}
103107
}
104108
}
105109

0 commit comments

Comments
 (0)