mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Use cache-cleanup command line option
The --mode command line option to has been renamed to --cache-cleanup
This commit is contained in:
2
lib/codeql.js
generated
2
lib/codeql.js
generated
@@ -570,7 +570,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
"database",
|
||||
"cleanup",
|
||||
databasePath,
|
||||
`--mode=${cleanupLevel}`,
|
||||
`--cache-cleanup=${cleanupLevel}`,
|
||||
...getExtraOptionsFromEnv(["database", "cleanup"]),
|
||||
];
|
||||
await runTool(cmd, codeqlArgs);
|
||||
|
||||
Reference in New Issue
Block a user