Skip to content

Commit de281a9

Browse files
committed
Fix script error when switching branch
1 parent 14933ef commit de281a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def gitbr(ctx, branch):
132132

133133
if currentBranch == branch:
134134
yield
135+
return
135136

136137
if currentBranch == 'HEAD':
137138
# detached head

0 commit comments

Comments
 (0)