diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/versions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb index 778e92ac8..86a184d94 100644 --- a/Library/Homebrew/cmd/versions.rb +++ b/Library/Homebrew/cmd/versions.rb @@ -88,7 +88,7 @@ class Formula # Unload the class so Formula#version returns the correct value begin Formulary.unload_formula name - nostdout { Formula.factory(path).version } + nostdout { Formula.factory(path.to_s).version } rescue *IGNORED_EXCEPTIONS => e # We rescue these so that we can skip bad versions and # continue walking the history |
