You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(lint): refactor hasOauthCredentials to eliminate code duplication
Refactored the hasOauthCredentials function in menu-project-auth-gemini.ts
to use pipe-based composition instead of Effect.gen pattern to eliminate
the code duplication detected by the linter against menu-project-auth-claude.ts.
The new implementation:
- Extracts credential file names to a constant array
- Uses a recursive checkAnyFileExists helper with pipe composition
- Maintains the same functionality with proper type safety
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments