mirror of
https://github.com/actions/checkout.git
synced 2025-06-08 18:42:39 +08:00
Compare commits
2 Commits
878b21d595
...
e6051b0754
Author | SHA1 | Date | |
---|---|---|---|
|
e6051b0754 | ||
|
b800b38ab2 |
@ -289,9 +289,8 @@ class GitCommandManager {
|
|||||||
args.push(arg)
|
args.push(arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
const that = this
|
|
||||||
await retryHelper.execute(async () => {
|
await retryHelper.execute(async () => {
|
||||||
await that.execGit(args)
|
await this.execGit(args)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -343,9 +342,8 @@ class GitCommandManager {
|
|||||||
async lfsFetch(ref: string): Promise<void> {
|
async lfsFetch(ref: string): Promise<void> {
|
||||||
const args = ['lfs', 'fetch', 'origin', ref]
|
const args = ['lfs', 'fetch', 'origin', ref]
|
||||||
|
|
||||||
const that = this
|
|
||||||
await retryHelper.execute(async () => {
|
await retryHelper.execute(async () => {
|
||||||
await that.execGit(args)
|
await this.execGit(args)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user