mirror of
https://github.com/actions/checkout.git
synced 2026-03-14 22:45:48 +01:00
Fix indentation
This commit is contained in:
parent
043bdbc4cc
commit
4bd535976f
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue