Export getCommandCacheFilePath function for use in tests

This commit is contained in:
Mario Campos
2026-08-14 10:55:33 -05:00
parent 93d793c5fe
commit cb9d39fcc1

View File

@@ -44,7 +44,7 @@ export function resetCachedCodeQlVersion(): void {
* Returns the path to the temporary file that backs the
* on-disk cache of CLI responses between workflow steps.
*/
function getCommandCacheFilePath(env: Env): string {
export function getCommandCacheFilePath(env: Env): string {
return path.join(getTemporaryDirectory(env), COMMAND_CACHE_FILENAME);
}