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
refactor: optimize logger and spinner initialization
Refactor 111 files to call getDefaultLogger() and getDefaultSpinner() once at the top of each module instead of repeatedly throughout the code. This improves performance by reducing redundant function calls and establishes a consistent pattern across the codebase.
Pattern applied:
- Added const logger = getDefaultLogger() after imports
- Added const spinner = getDefaultSpinner() after imports
- Replaced all getDefaultLogger() calls with logger reference
- Replaced all getDefaultSpinner() calls with spinner reference
This change maintains backward compatibility while improving code efficiency and maintainability.
0 commit comments