aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-09-28 20:10:06 +0100
committerGitHub2017-09-28 20:10:06 +0100
commit7974ce24b619f921071dc607f0ea1a50e5379b9f (patch)
tree2ce43afb894325672e5ece98b460cc89a21e4ed5 /Library
parent2d6bd0400785b5fb061f793f70736f12e6ec8231 (diff)
downloadbrew-7974ce24b619f921071dc607f0ea1a50e5379b9f.tar.bz2
Fix regex style
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/diagnostic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index 020594f0c..29d2e342f 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -789,7 +789,7 @@ module Homebrew
return if ENV["CI"] || ENV["JENKINS_HOME"]
branch = coretap_path.git_branch
- return if branch.nil? || branch =~ %r{master}
+ return if branch.nil? || branch =~ /master/
<<-EOS.undent