From 7974ce24b619f921071dc607f0ea1a50e5379b9f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 28 Sep 2017 20:10:06 +0100 Subject: Fix regex style --- Library/Homebrew/diagnostic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3