mirror of
https://code.forgejo.org/actions/checkout
synced 2025-04-29 03:54:23 +08: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