Skip to content

Commit 2bdd7f5

Browse files
authored
Fix '0' rendered in action page (#8227)
Removes this "0" rendered between output symlinks and stderr: ![image](https://github.com/user-attachments/assets/b2206029-5e8f-43ec-ae30-70dad371d0a7)
1 parent 6a694db commit 2bdd7f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/invocation/invocation_action_card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ export default class InvocationActionCardComponent extends React.Component<Props
796796
...actionResult.outputSymlinks,
797797
].map((output) => output.path);
798798
const missingOutputs = command.outputPaths.filter((expected) => !actualOutputs.includes(expected));
799-
return missingOutputs.length && renderOutline(renderMissingOutputPaths(missingOutputs));
799+
return !!missingOutputs.length && renderOutline(renderMissingOutputPaths(missingOutputs));
800800
}
801801

802802
const actualFiles = [

0 commit comments

Comments
 (0)