mirror of
https://github.com/actions/checkout.git
synced 2025-06-08 17:49:03 +00:00
.
This commit is contained in:
parent
85a425b582
commit
46054cf00b
3 changed files with 11 additions and 8 deletions
|
@ -17,7 +17,10 @@ export async function prepareExistingDirectory(
|
|||
assert.ok(repositoryPath, 'Expected repositoryPath to be defined')
|
||||
assert.ok(preferredRemoteUrl, 'Expected preferredRemoteUrl to be defined')
|
||||
assert.ok(allowedRemoteUrls, 'Expected allowedRemoteUrls to be defined')
|
||||
assert.ok(allowedRemoteUrls.length, 'Expected allowedRemoteUrls to have at least one value')
|
||||
assert.ok(
|
||||
allowedRemoteUrls.length,
|
||||
'Expected allowedRemoteUrls to have at least one value'
|
||||
)
|
||||
|
||||
// Indicates whether to delete the directory contents
|
||||
let remove = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue