Skip to content

Commit

Permalink
chore(cdk): migrations fix services replacing (#5519)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin authored Oct 2, 2023
1 parent 237d4b5 commit 07d4e81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function replaceProperties(
const statement = parent.getParent();
const identifier = statement.getChildrenOfKind(SyntaxKind.Identifier)[0];

identifier.findReferencesAsNodes().forEach(ref => {
identifier?.findReferencesAsNodes().forEach(ref => {
let parent = ref.getParent();

if (
Expand Down

0 comments on commit 07d4e81

Please sign in to comment.