audit: fix subversion remote check logic.

Stop flagging invalid URLs as valid and vice-versa.

Fixes #3118.
This commit is contained in:
Mike McQuaid 2017-09-03 21:42:46 +01:00
parent e82f36db3e
commit bbf71921eb

View File

@ -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