mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-31 16:31:08 -07:00
Shorten temp directory (#17901)
This commit is contained in:
@@ -55,6 +55,9 @@ vi.mock('@google/gemini-cli-core', async (importOriginal) => {
|
||||
'shell_history',
|
||||
);
|
||||
}
|
||||
initialize(): Promise<undefined> {
|
||||
return Promise.resolve(undefined);
|
||||
}
|
||||
}
|
||||
return {
|
||||
...actual,
|
||||
|
||||
@@ -24,6 +24,7 @@ async function getHistoryFilePath(
|
||||
configStorage?: Storage,
|
||||
): Promise<string> {
|
||||
const storage = configStorage ?? new Storage(projectRoot);
|
||||
await storage.initialize();
|
||||
return storage.getHistoryFilePath();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user