Skip to content

Commit

Permalink
removing the block of non scaning stages when invoking aspects
Browse files Browse the repository at this point in the history
  • Loading branch information
IsmaelMartinez committed Jun 21, 2024
1 parent 8b495f9 commit 8295b68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/aws-cdk-lib/core/lib/private/synthesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,7 @@ function invokeAspects(root: IConstruct) {
}

for (const child of construct.node.children) {
if (!Stage.isStage(child)) {
recurse(child, allAspectsHere);
}
recurse(child, allAspectsHere);
}
}
}
Expand Down

0 comments on commit 8295b68

Please sign in to comment.