lib/templater/actions/file.rb in templater-0.1.5 vs lib/templater/actions/file.rb in templater-0.1.6
- old
+ new
@@ -55,10 +55,10 @@
::FileUtils.copy_file(source, destination)
end
# removes the destination file
def revoke!
- ::FileUtils.rm(destination)
+ ::FileUtils.rm(destination, :force => true)
end
end
end
end