diff options
| author | mansimarkaur | 2017-08-29 16:14:00 +0530 | 
|---|---|---|
| committer | mansimarkaur | 2017-08-29 16:16:17 +0530 | 
| commit | 3d8873ca5b6270351ac8e4260fba8a41f8c0fe04 (patch) | |
| tree | 05d22792db4c4203a2a866a234ea8aae57f9f22d /Library/Homebrew/dev-cmd/audit.rb | |
| parent | d533973395e549c558c2282a46acc12df4e7d6da (diff) | |
| download | brew-3d8873ca5b6270351ac8e4260fba8a41f8c0fe04.tar.bz2 | |
url skipped if svn not available when auditing urls
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 0e4500a12..be332481c 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1228,9 +1228,8 @@ class ResourceAuditor          end        elsif strategy <= SubversionDownloadStrategy          next unless DevelopmentTools.subversion_handles_most_https_certificates? -        if !Utils.svn_available? -          problem "No valid version of svn found" -        elsif Utils.svn_remote_exists url +        next unless Utils.svn_available? +        if Utils.svn_remote_exists url            problem "The URL #{url} is not a valid svn URL"          end        end  | 
