From 5a1d7fa8039ca031f9de750300547783b4e5cffa Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Tue, 10 Dec 2024 20:40:29 +0800 Subject: [PATCH] f --- src/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.ts b/src/utils.ts index 58e990e..8c983fa 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -13,6 +13,7 @@ export function getDirname() { if (typeof __dirname !== 'undefined') { return __dirname; } + // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore return path.dirname(fileURLToPath(import.meta.url)); }