Skip to content

Commit

Permalink
fix the issue in trigger nodes
Browse files Browse the repository at this point in the history
Co-authored-by: Elias Meire <[email protected]>
  • Loading branch information
ShireenMissi and elsmr committed Sep 5, 2024
1 parent a8e80d0 commit 452a7a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/node-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export class NodeTypes implements INodeTypes {

if (type in knownNodes) {
const { className, sourcePath } = knownNodes[type];
const loaded: INodeType | IVersionedNodeType = loadClassInIsolation(sourcePath, className);
if (NodeHelpers.isINodeType(loaded)) NodeHelpers.applySpecialNodeParameters(loaded);
const loaded: INodeType = loadClassInIsolation(sourcePath, className);
NodeHelpers.applySpecialNodeParameters(loaded);

loadedNodes[type] = { sourcePath, type: loaded };
return loadedNodes[type];
Expand Down

0 comments on commit 452a7a0

Please sign in to comment.