Skip to content

Commit b2624d1

Browse files
konardclaude
andcommitted
fix(lint): remove as const assertion to comply with Effect-TS rules
The project has a lint rule that restricts casting (including 'as const') to src/core/axioms.ts only. Changed to use explicit ReadonlyArray<string> type annotation instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 35d0d4d commit b2624d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/app/src/docker-git/menu-project-auth-gemini.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ const hasApiKeyInEnvFile = (
6363
// PURITY: SHELL
6464
// INVARIANT: checks for existence of OAuth credential files
6565
// COMPLEXITY: O(n) where n = number of possible credential files
66-
const geminiOauthCredentialFiles = [
66+
const geminiOauthCredentialFiles: ReadonlyArray<string> = [
6767
"oauth-tokens.json",
6868
"credentials.json",
6969
"application_default_credentials.json"
70-
] as const
70+
]
7171

7272
const checkAnyFileExists = (
7373
fs: FileSystem.FileSystem,

0 commit comments

Comments
 (0)