Skip to content

Commit

Permalink
chore: clean codes
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Sep 18, 2024
1 parent a6bd922 commit 140748a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions schematics/utils/alain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ export function addValueToVariable(
needWrap: boolean = true
): void {
const source = getSourceFile(tree, filePath);
// const node = findNode(source, ts.SyntaxKind.Identifier, variableName);
// https://github.com/ng-alain/ng-alain/issues/2517
const node = getSourceNodes(source).find(
node => node.kind == ts.SyntaxKind.Identifier && node.getText() === variableName
);
Expand Down

0 comments on commit 140748a

Please sign in to comment.