diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 49eb6e6ec1..b143b92257 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -99,7 +99,7 @@ class Pathname # we assume this pathname object is a file obviously def write content - raise "Will not overwrite #{to_s}" if exist? and not ARGV.force? + raise "Will not overwrite #{to_s}" if exist? dirname.mkpath File.open(self, 'w') {|f| f.write content } end