Roo-Code/src/utils/globalContext.ts
2025-10-28 19:36:56 -04:00

7 lines
345 B
TypeScript

import { ExtensionContext } from "vscode"
import { getSettingsDirectoryPath } from "./storage"
export async function ensureSettingsDirectoryExists(context: ExtensionContext): Promise<string> {
// getSettingsDirectoryPath already handles the custom storage path setting
return await getSettingsDirectoryPath(context.globalStorageUri.fsPath)
}