Shorten temp directory (#17901)

This commit is contained in:
joshualitt
2026-02-06 08:10:17 -08:00
committed by GitHub
parent 30354892b3
commit 6fb3b09003
24 changed files with 989 additions and 27 deletions

View File

@@ -55,6 +55,9 @@ vi.mock('@google/gemini-cli-core', async (importOriginal) => {
'shell_history',
);
}
initialize(): Promise<undefined> {
return Promise.resolve(undefined);
}
}
return {
...actual,

View File

@@ -24,6 +24,7 @@ async function getHistoryFilePath(
configStorage?: Storage,
): Promise<string> {
const storage = configStorage ?? new Storage(projectRoot);
await storage.initialize();
return storage.getHistoryFilePath();
}