mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Replace rmdir with rmSync
This commit is contained in:
@@ -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.`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user