Merge pull request #4331 from cli/repo-create-prompt-error
Do not swallow prompt error during `repo create`
This commit is contained in:
commit
bb86145cb6
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ func createRun(opts *CreateOptions) error {
|
|||
if !isVisibilityPassed {
|
||||
newVisibility, err := getVisibility()
|
||||
if err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
visibility = newVisibility
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue