mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Re-order env to be first argument for consistency
This commit is contained in:
4
lib/entry-points.js
generated
4
lib/entry-points.js
generated
@@ -146251,7 +146251,7 @@ var cachedCodeQlVersion = void 0;
|
||||
function getCommandCacheFilePath(env) {
|
||||
return import_path.default.join(getTemporaryDirectory(env), COMMAND_CACHE_FILENAME);
|
||||
}
|
||||
function cacheCodeQlVersion(cmd, version, env) {
|
||||
function cacheCodeQlVersion(env, cmd, version) {
|
||||
if (cachedCodeQlVersion !== void 0) {
|
||||
throw new Error("cacheCodeQlVersion() should be called only once");
|
||||
}
|
||||
@@ -151883,7 +151883,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
noStreamStdout: true
|
||||
}
|
||||
);
|
||||
cacheCodeQlVersion(cmd, result, getEnv());
|
||||
cacheCodeQlVersion(getEnv(), cmd, result);
|
||||
}
|
||||
return result;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user