Commit b7ba888d authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop] Favor if over unless for negative conditions. Don't use parentheses…

[RuboCop] Favor if over unless for negative conditions. Don't use parentheses around the condition of an if.
parent 7abaf4eb
...@@ -124,7 +124,7 @@ module Pod ...@@ -124,7 +124,7 @@ module Pod
end end
def self.verify_xcode_license_approved! def self.verify_xcode_license_approved!
unless !(`/usr/bin/xcrun clang 2>&1` =~ /license/ && !$?.success?) if `/usr/bin/xcrun clang 2>&1` =~ /license/ && !$?.success?
raise Informative, 'You have not agreed to the Xcode license, which ' \ raise Informative, 'You have not agreed to the Xcode license, which ' \
'you must do to use CocoaPods. Agree to the license by running: ' \ 'you must do to use CocoaPods. Agree to the license by running: ' \
'`xcodebuild -license`.' '`xcodebuild -license`.'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment