fastlane/lib/fastlane/actions/ensure_git_branch.rb in fastlane-2.99.1 vs fastlane/lib/fastlane/actions/ensure_git_branch.rb in fastlane-2.100.0
- old
+ new
@@ -7,10 +7,10 @@
class EnsureGitBranchAction < Action
def self.run(params)
branch = params[:branch]
branch_expr = /#{branch}/
if Actions.git_branch =~ branch_expr
- UI.success("Git branch match `#{branch}`, all good! 💪")
+ UI.success("Git branch matches `#{branch}`, all good! 💪")
else
UI.user_error!("Git is not on a branch matching `#{branch}`. Current branch is `#{Actions.git_branch}`! Please ensure the repo is checked out to the correct branch.")
end
end