fastlane/lib/fastlane/actions/restore_file.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/restore_file.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -3,10 +3,10 @@ class RestoreFileAction < Action def self.run(params) path = params[:path] backup_path = "#{path}.back" UI.user_error!("Could not find file '#{backup_path}'") unless File.exist?(backup_path) - FileUtils.cp(backup_path, path, { preserve: true }) + FileUtils.cp(backup_path, path, preserve: true) FileUtils.rm(backup_path) UI.message("Successfully restored backup 📤") end def self.description