aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/audit.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-09-03 21:42:46 +0100
committerMike McQuaid2017-09-03 21:42:46 +0100
commitbbf71921eb2b2cce5072bb615fac3a2bc96fcfc7 (patch)
treeec3d83520062a93bd6170a36bb5c7c1463c0f041 /Library/Homebrew/dev-cmd/audit.rb
parente82f36db3e12550b2d11f2ad9f3d3eb69d513424 (diff)
downloadbrew-bbf71921eb2b2cce5072bb615fac3a2bc96fcfc7.tar.bz2
audit: fix subversion remote check logic.
Stop flagging invalid URLs as valid and vice-versa. Fixes #3118.
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 3c6867f45..d8306609b 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -1233,7 +1233,7 @@ class ResourceAuditor
elsif strategy <= SubversionDownloadStrategy
next unless DevelopmentTools.subversion_handles_most_https_certificates?
next unless Utils.svn_available?
- if Utils.svn_remote_exists url
+ unless Utils.svn_remote_exists url
problem "The URL #{url} is not a valid svn URL"
end
end