Skip to content

Commit 94ac620

Browse files
committed
Fixes non-null assertion lint exemption.
1 parent f098807 commit 94ac620

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/rules_prerender/styles.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ export function inlineStyle(importPath: string, meta: ImportMeta): string {
3434
// since such tests would not actually care.
3535
const inlineStyleMap = getInlineStyleMap();
3636
const filePath = inlineStyleMap ? inlineStyleMap.get(resolved) : resolved;
37-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3837
if (!filePath) {
3938
throw InlineStyleNotFoundError.from(
39+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4040
importPath, resolved, inlineStyleMap!);
4141
}
4242

0 commit comments

Comments
 (0)