1
0
mirror of https://github.com/actions/checkout.git synced 2026-06-05 15:14:21 +08:00

Fix indentation

This commit is contained in:
Michael Wyraz
2026-03-10 08:09:17 +01:00
parent 043bdbc4cc
commit 4bd535976f

View File

@@ -68,8 +68,8 @@ export class GitCacheHelper {
await git.execGit(args)
if (fs.existsSync(cachePath)) {
// In rare cases where it somehow exists but objects/ didn't, clean it up
await fs.promises.rm(cachePath, { recursive: true, force: true })
// In rare cases where it somehow exists but objects/ didn't, clean it up
await fs.promises.rm(cachePath, { recursive: true, force: true })
}
await fs.promises.rename(tmpPath, cachePath)
} catch (cloneErr) {