Skip to content

Commit 9316c3a

Browse files
committed
refactor: fix lint error
1 parent e838a48 commit 9316c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/await-async-events.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default createTestingLibraryRule<Options, MessageIds>({
128128
true
129129
);
130130

131-
if (!closestCallExpression || !closestCallExpression.parent) {
131+
if (!closestCallExpression?.parent) {
132132
return;
133133
}
134134

0 commit comments

Comments
 (0)