allow base repo notty
This commit is contained in:
parent
09064a5f55
commit
26748dc2f3
1 changed files with 0 additions and 3 deletions
|
|
@ -47,9 +47,6 @@ To authorize, run "gh auth refresh -s delete_repo"`,
|
|||
if !opts.IO.CanPrompt() && !opts.Confirmed {
|
||||
return cmdutil.FlagErrorf("could not prompt: confirmation with prompt or --confirm flag required")
|
||||
}
|
||||
if !opts.IO.CanPrompt() && opts.RepoArg == "" {
|
||||
return cmdutil.FlagErrorf("confirmation prompt required with no arguments")
|
||||
}
|
||||
|
||||
if runF != nil {
|
||||
return runF(opts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue