lib/modulesync/hook.rb in modulesync-2.3.1 vs lib/modulesync/hook.rb in modulesync-2.4.0

- old
+ new

@@ -30,9 +30,9 @@ File.write(hook_file, content(hook_args.join(' '))) end def deactivate - File.delete(hook_file) if File.exist?(hook_file) + FileUtils.rm_f(hook_file) end end end