Skip to content

Commit 5b06cc1

Browse files
committed
fix(logger): remove unnecessary eslint directive for explicit any in runtime mode resolution
1 parent 2c531f0 commit 5b06cc1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/core/src/utils/logger.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ function resolveRuntimeMode(): string {
99
// import.meta may be undefined when this file is executed in Node during Vite config bundling
1010
try {
1111
// Using optional chaining to avoid ReferenceErrors when import.meta is not defined
12-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1312
const modeFromImportMeta = (import.meta as any)?.env?.MODE as string | undefined
1413
if (modeFromImportMeta) { return modeFromImportMeta }
1514
}

0 commit comments

Comments
 (0)