Skip to content

Commit

Permalink
Update packages/amplify-provider-awscloudformation/src/aws-utils/aws-…
Browse files Browse the repository at this point in the history
…cfn.js
  • Loading branch information
Amplifiyer authored Jan 20, 2023
1 parent fb6c3f4 commit 22a696a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class CloudFormation {
stack =>
(this.eventMap['eventToCategories'] && this.eventMap['eventToCategories'].has(stack.LogicalResourceId)) ||
(this.eventMap['rootResources'] &&
this.eventMap['rootResources'].map(resource => resource.key).includes(stack.LogicalResourceId)),
this.eventMap['rootResources'].some(resource => resource.key === stack.LogicalResourceId)),
)
.filter(stack => !RESOURCE_CASCADE_FAIL_REASONS.includes(stack.ResourceStatusReason));
}
Expand Down

0 comments on commit 22a696a

Please sign in to comment.