Poseidon: Read native file content if available

This commit is contained in:
Sebastian Serth
2021-11-17 19:25:35 +01:00
parent 22e887387d
commit b07560bc7e

View File

@ -114,7 +114,7 @@ class Runner::Strategy::Poseidon < Runner::Strategy
copy = files.map do |file| copy = files.map do |file|
{ {
path: file.filepath, path: file.filepath,
content: Base64.strict_encode64(file.content), content: Base64.strict_encode64(file.content.presence || file.native_file.read),
} }
end end