mirror of
https://github.com/gosticks/brew.git
synced 2026-10-05 15:06:54 +00:00
audit: fix subversion remote check logic.
Stop flagging invalid URLs as valid and vice-versa. Fixes #3118.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user