Skip to content

Commit be8f2d2

Browse files
committed
fix: Output shape validation will delete keys when there is a list of files
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
1 parent 59c05fc commit be8f2d2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/private/TaskProcessing/Manager.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,6 @@ public function encapsulateOutputFileData(array $output, ...$specs): array {
16071607
$file = $folder->newFile(time() . '-' . rand(1, 100000), $output[$key]);
16081608
$newOutput[$key] = $file->getId(); // polymorphic call to SimpleFile
16091609
} else {
1610-
$newOutput = [];
16111610
foreach ($output[$key] as $item) {
16121611
/** @var SimpleFile $file */
16131612
$file = $folder->newFile(time() . '-' . rand(1, 100000), $item);

0 commit comments

Comments
 (0)