url skipped if svn not available when auditing urls

This commit is contained in:
mansimarkaur 2017-08-29 16:14:00 +05:30
parent d533973395
commit 3d8873ca5b

View File

@ -1228,9 +1228,8 @@ class ResourceAuditor
end end
elsif strategy <= SubversionDownloadStrategy elsif strategy <= SubversionDownloadStrategy
next unless DevelopmentTools.subversion_handles_most_https_certificates? next unless DevelopmentTools.subversion_handles_most_https_certificates?
if !Utils.svn_available? next unless Utils.svn_available?
problem "No valid version of svn found" if Utils.svn_remote_exists url
elsif Utils.svn_remote_exists url
problem "The URL #{url} is not a valid svn URL" problem "The URL #{url} is not a valid svn URL"
end end
end end