mirror of
https://github.com/github/codeql-action.git
synced 2026-05-16 16:20:21 +00:00
Remove calls to fs.rmdirSync
This commit is contained in:
+2
-2
@@ -268,8 +268,8 @@ function createToolPath(
|
||||
);
|
||||
logger.debug(`destination ${folderPath}`);
|
||||
const markerPath = `${folderPath}.complete`;
|
||||
fs.rmdirSync(folderPath, { recursive: true });
|
||||
fs.rmdirSync(markerPath, { recursive: true });
|
||||
fs.rmSync(folderPath, { recursive: true, force: true });
|
||||
fs.rmSync(markerPath, { recursive: true, force: true });
|
||||
fs.mkdirSync(folderPath, { recursive: true });
|
||||
return folderPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user