Skip to content

Commit

Permalink
Update src/detectors/typeChecker/FileLinter.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Oßwald <[email protected]>
  • Loading branch information
d3xter666 and matz3 authored Mar 19, 2024
1 parent ecb818d commit 197afdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detectors/typeChecker/FileLinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class FileLinter {
// const nodeType = this.#checker.getTypeAtLocation(node);
this.analyzePropertyAccessExpression(node as ts.CallExpression); // Check for global
this.analyzeCallExpression(node as ts.CallExpression); // Check for deprecation
this.checkLibInitCall(node as ts.CallExpression); // Check for sap.ui.coreLib.init usages
this.checkLibInitCall(node as ts.CallExpression); // Check for sap/ui/core/Lib.init usages
} else if (node.kind === ts.SyntaxKind.PropertyAccessExpression ||
node.kind === ts.SyntaxKind.ElementAccessExpression) {
this.analyzePropertyAccessExpression(
Expand Down

0 comments on commit 197afdb

Please sign in to comment.