mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Export getCommandCacheFilePath function for use in tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user