Overwrite plists.

This commit is contained in:
Mike McQuaid 2012-11-25 20:53:04 +00:00
parent c3f96851b2
commit 427bc9d01c

View File

@ -98,7 +98,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? and not ARGV.force?
dirname.mkpath
File.open(self, 'w') {|f| f.write content }
end