aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-07-22 21:26:42 -0500
committerJack Nagel2013-07-22 21:26:42 -0500
commit3cf3749e6e9eaa243500109f5fc79e86aaaab570 (patch)
tree887dc46cb03ce74e99c9c6c4a1f1c4a39348686a /Library
parentda774ad4d9a795911dd2ec44f6b9f6b808ae7240 (diff)
downloadhomebrew-3cf3749e6e9eaa243500109f5fc79e86aaaab570.tar.bz2
Pathname#write: don't check ARGV.force?
Closes #21390.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 49eb6e6ec..b143b9225 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