mirror of
https://github.com/actions/checkout.git
synced 2026-05-22 03:30:15 +00:00
Fix checkout init for SHA-256 repositories
This commit is contained in:
@@ -501,6 +501,7 @@ async function setup(testName: string): Promise<void> {
|
||||
await fs.promises.stat(path.join(repositoryPath, '.git'))
|
||||
return repositoryUrl
|
||||
}),
|
||||
tryGetObjectFormat: jest.fn(async () => ({format: '', succeeded: true})),
|
||||
tryGetConfigValues: jest.fn(),
|
||||
tryGetConfigKeys: jest.fn(),
|
||||
tryReset: jest.fn(async () => {
|
||||
|
||||
Reference in New Issue
Block a user