Skip to content

Commit 6454538

Browse files
committed
Fix linting
1 parent c8ed49d commit 6454538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subgraph/SubgraphNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class SubgraphNode extends LGraphNode implements BaseLGraph {
6060
subgraphEvents.addEventListener("input-added", (e) => {
6161
const subgraphInput = e.detail.input
6262
const { name, type } = subgraphInput
63-
if (this.inputs.find((i) => i.name == name))
63+
if (this.inputs.some(i => i.name == name))
6464
return
6565
const input = this.addInput(name, type)
6666

0 commit comments

Comments
 (0)