aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/audit.rb
diff options
context:
space:
mode:
authorMisty De Meo2017-08-29 15:08:05 -0700
committerGitHub2017-08-29 15:08:05 -0700
commit156bca7dfb22e0fcbfd1c2a06d15330e8b9b454d (patch)
tree0e10d5dce7ef0a603c48d2f03e5ff2ec9fb66b05 /Library/Homebrew/dev-cmd/audit.rb
parentfd4fe3b80cab99024370167b9d0ef8f4f1924d7a (diff)
parent3d8873ca5b6270351ac8e4260fba8a41f8c0fe04 (diff)
downloadbrew-156bca7dfb22e0fcbfd1c2a06d15330e8b9b454d.tar.bz2
Merge pull request #2950 from mansimarkaur/svn
Added tests for utils/svn
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 2c9336481..be332481c 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -1228,7 +1228,8 @@ class ResourceAuditor
end
elsif strategy <= SubversionDownloadStrategy
next unless DevelopmentTools.subversion_handles_most_https_certificates?
- unless 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