We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dadb187 commit 8f43033Copy full SHA for 8f43033
1 file changed
cmd/submit.go
@@ -79,7 +79,7 @@ func runSubmit(cfg *config.Config, opts *submitOptions) error {
79
80
// Verify that the repository has stacked PRs enabled.
81
stacksAvailable := s.ID != ""
82
- if s.ID == "" {
+ if !stacksAvailable {
83
if _, err := client.ListStacks(); err != nil {
84
cfg.Warningf("Stacked PRs are not enabled for this repository")
85
if cfg.IsInteractive() {
0 commit comments