diff options
| author | Adam Vandenberg | 2011-06-16 20:35:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-16 20:35:09 -0700 |
| commit | ea35d749af5563ecc1c3941e5d75ea7afe5ebbd0 (patch) | |
| tree | 218e2ad9b01969772c3c7ea4770e18015d6e037e /Library/Homebrew | |
| parent | 00b7e07f45009ecb44f0323aa6f6d3d8732b8407 (diff) | |
| download | brew-ea35d749af5563ecc1c3941e5d75ea7afe5ebbd0.tar.bz2 | |
be more ruby-like
Diffstat (limited to 'Library/Homebrew')
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index d267c2ba3..9f4caa9a3 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -158,11 +158,12 @@ end def audit_formula_version f, text # Version as defined in the DSL (or nil) version_text = f.class.send('version').to_s + # Version as determined from the URL version_url = Pathname.new(f.url).version if version_url == version_text - return [" * version "+version_text+" is redundant with version scanned from url"] + return [" * version #{version_text} is redundant with version scanned from url"] end return [] |
