FIX: Restoring could fail due to missing path

This commit is contained in:
Gerhard Schlager
2021-02-09 16:20:11 +01:00
committed by Gerhard Schlager
parent 4f5ea4fbde
commit 0b05302cfe
3 changed files with 7 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ module BackupRestore
delegate :log, to: :@logger, private: true
def initialize(logger, filename, current_db, root_tmp_directory = Rails.root, location = nil)
def initialize(logger, filename, current_db, root_tmp_directory: Rails.root, location: nil)
@logger = logger
@filename = filename
@current_db = current_db