aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index aeb59e7eb..90fc7ceb3 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -219,7 +219,7 @@ class FormulaAuditor
else
version_text = s.version unless s.version.detected_from_url?
version_url = Version.parse(s.url)
- if version_url == version_text
+ if version_url.to_s == version_text.to_s
problem "#{spec} version #{version_text} is redundant with version scanned from URL"
end
end