Skip to content

Commit ab2a26c

Browse files
matz3github-actions[bot]
authored andcommitted
style(eslint): Fix new issue
1 parent 7a5dac8 commit ab2a26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linter/ui5Types/SourceFileLinter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ export default class SourceFileLinter {
12721272
"async", node.arguments[1]
12731273
);
12741274

1275-
if (!asyncProb || asyncProb.initializer.kind !== ts.SyntaxKind.TrueKeyword) {
1275+
if (asyncProb?.initializer.kind !== ts.SyntaxKind.TrueKeyword) {
12761276
this.#reporter.addMessage(MESSAGE.PARTIALLY_DEPRECATED_CORE_ROUTER, null, {node});
12771277
}
12781278
}

0 commit comments

Comments
 (0)