From 6732ac01c9e9c2c969041727ced109c94aed3f82 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 12 May 2020 09:55:34 -0700 Subject: [PATCH] Fix var Co-Authored-By: Nate Smith --- command/pr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/pr.go b/command/pr.go index 9f274333d..ea7d0bea5 100644 --- a/command/pr.go +++ b/command/pr.go @@ -474,7 +474,7 @@ func prMerge(cmd *cobra.Command, args []string) error { return err } - mergeMethod := api.PullRequestMergeMethodMerge + var mergeMethod api.PullRequestMergeMethod deleteBranch, err := cmd.Flags().GetBool("delete-branch") if err != nil { return nil