mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-14 05:17:18 -07:00
fix(cli): resolve lint errors preventing pipeline extraction
This commit is contained in:
@@ -10,6 +10,7 @@ import { LoginWithGoogleRestartDialog } from './LoginWithGoogleRestartDialog.js'
|
||||
import { useKeypress } from '../hooks/useKeypress.js';
|
||||
import {
|
||||
_resetRelaunchStateForTesting,
|
||||
relaunchApp,
|
||||
} from '../../utils/processUtils.js';
|
||||
import { type Config } from '@google/gemini-cli-core';
|
||||
|
||||
@@ -25,7 +26,7 @@ vi.mock('../../utils/processUtils.js', () => ({
|
||||
}));
|
||||
|
||||
const mockedUseKeypress = useKeypress as Mock;
|
||||
import { relaunchApp } from '../../utils/processUtils.js';
|
||||
|
||||
const mockedRelaunchApp = relaunchApp as Mock;
|
||||
|
||||
describe('LoginWithGoogleRestartDialog', () => {
|
||||
|
||||
@@ -784,8 +784,6 @@ export function KeypressProvider({
|
||||
children: React.ReactNode;
|
||||
config?: Config;
|
||||
}) {
|
||||
if (process.env['NODE_ENV'] === 'test') {
|
||||
}
|
||||
const { settings } = useSettingsStore();
|
||||
const debugKeystrokeLogging = settings.merged.general.debugKeystrokeLogging;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user