fastlane/lib/fastlane/actions/backup_file.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/backup_file.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -1,10 +1,10 @@
module Fastlane
module Actions
class BackupFileAction < Action
def self.run(params)
path = params[:path]
- FileUtils.cp(path, "#{path}.back", { preserve: true })
+ FileUtils.cp(path, "#{path}.back", preserve: true)
UI.message("Successfully created a backup 💾")
end
def self.description
'This action backs up your file to "[path].back"'