From 3db3470e72a3b8d0f972054273c52e9ef5987a05 Mon Sep 17 00:00:00 2001 From: august-setel Date: Thu, 5 Feb 2026 09:14:17 +0800 Subject: [PATCH] Force delete old repository Force delete old repository --- dist/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index fe3f3170e..7c0421e1a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1363,14 +1363,14 @@ function prepareExistingDirectory(git, repositoryPath, repositoryUrl, clean, ref remove = true; } } - if (remove) { + // if (remove) { // Delete the contents of the directory. Don't delete the directory itself // since it might be the current working directory. core.info(`Deleting the contents of '${repositoryPath}'`); for (const file of yield fs.promises.readdir(repositoryPath)) { yield io.rmRF(path.join(repositoryPath, file)); } - } + // } }); } @@ -38511,4 +38511,4 @@ module.exports = parseParams /******/ module.exports = __webpack_exports__; /******/ /******/ })() -; \ No newline at end of file +;