image null check

This commit is contained in:
Roland Schneider
2025-04-25 23:27:57 +02:00
parent 248a80727a
commit 477286fe45
9 changed files with 13 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";
const __filename = fileURLToPath(import.meta.url);
const __filename = fileURLToPath(import.meta?.url);
const __dirname = dirname(__filename);
const compat = new FlatCompat({