From d0ab717e67eec1c39f68f404715b32ea3d9bcdbe Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 20 Oct 2026 17:45:21 +0100 Subject: [PATCH] Replace `rmdir` with `rmSync` --- pr-checks/toolcache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr-checks/toolcache.ts b/pr-checks/toolcache.ts index a14605e38..8ec7e80b5 100755 --- a/pr-checks/toolcache.ts +++ b/pr-checks/toolcache.ts @@ -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.`); }