Replace rmdir with rmSync

This commit is contained in:
Michael B. Gale
2026-10-20 17:45:21 +01:00
parent 57804e978e
commit d0ab717e67

View File

@@ -19,7 +19,7 @@ function removeCodeQLFromToolcache() {
}
const codeqlPath = path.join(toolcachePath, "CodeQL");
fs.rmdirSync(codeqlPath, { recursive: true });
fs.rmSync(codeqlPath, { recursive: true });
core.info(`Removed '${codeqlPath}' from the toolcache.`);
}