use default to preserve non-interactive behavior

This commit is contained in:
vilmibm 2020-01-15 11:27:25 -06:00
parent 3468a46521
commit 7bbd70d6b2

View file

@ -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 == ""