mirror of
https://github.com/actions/checkout.git
synced 2026-03-10 16:34:26 +00:00
Fix indentation
This commit is contained in:
parent
043bdbc4cc
commit
4bd535976f
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user