X Tutup
Skip to content

Commit 26748dc

Browse files
committed
allow base repo notty
1 parent 09064a5 commit 26748dc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/cmd/repo/delete/delete.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ To authorize, run "gh auth refresh -s delete_repo"`,
4747
if !opts.IO.CanPrompt() && !opts.Confirmed {
4848
return cmdutil.FlagErrorf("could not prompt: confirmation with prompt or --confirm flag required")
4949
}
50-
if !opts.IO.CanPrompt() && opts.RepoArg == "" {
51-
return cmdutil.FlagErrorf("confirmation prompt required with no arguments")
52-
}
5350

5451
if runF != nil {
5552
return runF(opts)

0 commit comments

Comments
 (0)
X Tutup