mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Restoring could fail due to missing path
This commit is contained in:
committed by
Gerhard Schlager
parent
4f5ea4fbde
commit
0b05302cfe
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user