aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 1a7b0dc69..ca943a27d 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -452,7 +452,7 @@ class Formula
# True if this formula is provided by Homebrew itself
def core_formula?
- path.realpath.to_s == Formula.path(name).to_s
+ path.realpath == Formula.path(name)
end
def self.path name