(directoryPath: string)
| 73 | } |
| 74 | |
| 75 | async function directoryExists(directoryPath: string) { |
| 76 | try { |
| 77 | return (await stat(directoryPath)).isDirectory() |
| 78 | } catch { |
| 79 | return false |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | async function addExistingRepositoryProject(projectPath: string, repositoryUrl: string) { |
| 84 | if (!((await directoryExists(projectPath)) && (await isGitRepository(projectPath)))) { |
no outgoing calls
no test coverage detected