Fix regex style

This commit is contained in:
Mike McQuaid 2017-09-28 20:10:06 +01:00 committed by GitHub
parent 2d6bd04007
commit 7974ce24b6

View File

@ -789,7 +789,7 @@ module Homebrew
return if ENV["CI"] || ENV["JENKINS_HOME"] return if ENV["CI"] || ENV["JENKINS_HOME"]
branch = coretap_path.git_branch branch = coretap_path.git_branch
return if branch.nil? || branch =~ %r{master} return if branch.nil? || branch =~ /master/
<<-EOS.undent <<-EOS.undent