We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
shouldCreateBranch
hasBranch
1 parent 2b500d4 commit 92be088Copy full SHA for 92be088
main.go
@@ -71,8 +71,8 @@ func main() {
71
72
branchName := branch.BuildName(branchType, *jiraIssue)
73
74
- shouldCreateBranch := command.HasBranch(branchName)
75
- checkoutCommand, err := command.Checkout(branchName, shouldCreateBranch)
+ hasBranch := command.HasBranch(branchName)
+ checkoutCommand, err := command.Checkout(branchName, hasBranch)
76
if err != nil {
77
recorder.Println(recorder.ERROR, err)
78
os.Exit(1)
0 commit comments