Skip to content

Commit

Permalink
fix(delete_branch.rb): explicitly run branch master
Browse files Browse the repository at this point in the history
Signed-off-by: Norwid Behrnd <[email protected]>
  • Loading branch information
nbehrnd committed Apr 21, 2024
1 parent 1c73673 commit e1172dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions levels/delete_branch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
description "You have created too many branches for your project. There is an old branch in your repo called 'delete_me', you should delete it."

setup do
init_from_level
init_from_level
system "git branch -m master"
end

solution do
Expand All @@ -12,4 +13,4 @@

hint do
puts "Running 'git --help branch' will give you a list of branch commands."
end
end

0 comments on commit e1172dd

Please sign in to comment.