diff --git a/command/pr_create.go b/command/pr_create.go index ab03d9256..122314b8f 100644 --- a/command/pr_create.go +++ b/command/pr_create.go @@ -79,7 +79,7 @@ func prCreate(cmd *cobra.Command, _ []string) error { return errors.Wrap(err, "could not parse body") } - var action Action + action := SubmitAction interactive := title == "" || body == ""