Overwrite plists.
This commit is contained in:
parent
c3f96851b2
commit
427bc9d01c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user