Must use absolute path

This commit is contained in:
David Heinemeier Hansson
2023-01-23 10:04:55 +01:00
parent 62cc986c54
commit 1bcc65bc56

View File

@@ -76,7 +76,7 @@ class Mrsk::Configuration::Assessory
def remote_files_as_volumes
specifics["files"]&.collect do |local_to_remote_mapping|
_, remote_file = local_to_remote_mapping.split(":")
"#{expand_remote_file_path(remote_file)}:#{remote_file}"
"$PWD/#{expand_remote_file_path(remote_file)}:#{remote_file}"
end || []
end
end