We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab3c2b commit 3fbaeb1Copy full SHA for 3fbaeb1
src/services/nodeSearchService.ts
@@ -119,7 +119,14 @@ export class OutputTypeFilter extends NodeFilter<string> {
119
public readonly longInvokeSequence = "output";
120
121
public override getNodeOptions(node: ComfyNodeDef): string[] {
122
- const outputs = node.output;
+ const outputs = node.output || [];
123
+ // "custom_nodes.was-node-suite-comfyui"
124
+ // has a custom node with an output that is not an array.
125
+ // https://github.com/WASasquatch/was-node-suite-comfyui/pull/440
126
+ if (!(outputs instanceof Array)) {
127
+ console.error("Invalid output type", node);
128
+ return [];
129
+ }
130
return outputs.map((output) => {
131
return typeof output === "string" ? output : output[0];
132
});
0 commit comments