remove direct accesses to RUNNER_TEMP
This commit is contained in:
parent
9c29fe283d
commit
360e77a083
18 changed files with 55 additions and 56 deletions
|
|
@ -430,6 +430,6 @@ export function getThreadsFlag(): string {
|
|||
/**
|
||||
* Get the directory where CodeQL databases should be placed.
|
||||
*/
|
||||
export function getCodeQLDatabasesDir() {
|
||||
return path.resolve(getRequiredEnvParam('RUNNER_TEMP'), 'codeql_databases');
|
||||
export function getCodeQLDatabasesDir(tempDir: string) {
|
||||
return path.resolve(tempDir, 'codeql_databases');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue