fix linter issue

This commit is contained in:
Yuki Osaki 2020-09-29 00:32:03 +09:00 committed by Sam Coe
parent 8ef2bb4d14
commit 338bf1d112
No known key found for this signature in database
GPG key ID: 8E322C20F811D086

View file

@ -95,13 +95,13 @@ func titleBodySurvey(editorCommand string, issueState *CommentOptions, apiClient
err := prompt.SurveyAsk(qs, issueState)
if err != nil {
panic(fmt.Sprintf("could not prompt: %w", err))
panic(fmt.Sprintf("could not prompt: %v", err))
}
confirmA, err := confirmSubmission()
if err != nil {
panic(fmt.Sprintf("unable to confirm: %w", err))
panic(fmt.Sprintf("unable to confirm: %v", err))
}
issueState.Action = confirmA