This commit is contained in:
eric sciple 2020-03-18 23:34:02 -04:00
commit 46054cf00b
3 changed files with 11 additions and 8 deletions

View file

@ -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