Skip to content

Commit c429d77

Browse files
SevenOutmanG-Rath
andauthored
Update src/rules/prefer-in-document.js
Co-authored-by: Gareth Jones <[email protected]>
1 parent 9cac8cf commit c429d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/prefer-in-document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export const create = (context) => {
277277
);
278278

279279
// Not a DTL query
280-
if (!rightValueNode || rightValueNode.type !== "CallExpression") {
280+
if (rightValueNode?.type !== "CallExpression") {
281281
return;
282282
}
283283

0 commit comments

Comments
 (0)