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