Use cache-cleanup command line option

The --mode command line option to has been renamed to --cache-cleanup
This commit is contained in:
Simon Friis Vindum 2024-08-28 16:48:01 +02:00
parent 7233ec5e6b
commit e4525acbcb
4 changed files with 4 additions and 4 deletions

View file

@ -970,7 +970,7 @@ export async function getCodeQLForCmd(
"database",
"cleanup",
databasePath,
`--mode=${cleanupLevel}`,
`--cache-cleanup=${cleanupLevel}`,
...getExtraOptionsFromEnv(["database", "cleanup"]),
];
await runTool(cmd, codeqlArgs);