Merge pull request #4331 from cli/repo-create-prompt-error

Do not swallow prompt error during `repo create`
This commit is contained in:
Mislav Marohnić 2021-09-17 14:37:24 +02:00 committed by GitHub
commit bb86145cb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,7 @@ func createRun(opts *CreateOptions) error {
if !isVisibilityPassed {
newVisibility, err := getVisibility()
if err != nil {
return nil
return err
}
visibility = newVisibility
}