mirror of
https://github.com/actions/checkout.git
synced 2025-04-21 10:06:45 +00:00
Check git version before attempting to disable sparse-checkout
`
This commit is contained in:
parent
8410ad0602
commit
5fd05b69b4
6 changed files with 76 additions and 27 deletions
|
@ -501,6 +501,7 @@ async function setup(testName: string): Promise<void> {
|
|||
}),
|
||||
tryReset: jest.fn(async () => {
|
||||
return true
|
||||
})
|
||||
}),
|
||||
version: jest.fn()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue