From 7bbd70d6b28f1b5673c8fc888c7b3eebcd09545f Mon Sep 17 00:00:00 2001 From: vilmibm Date: Wed, 15 Jan 2020 11:27:25 -0600 Subject: [PATCH] use default to preserve non-interactive behavior --- command/pr_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 == ""