(path: string)
| 479 | |
| 480 | // Recursively search for a .git folder |
| 481 | async function findGitPath(path: string): Promise<string | undefined> { |
| 482 | const gitPath = pathModule.join(path, ".git"); |
| 483 | |
| 484 | const gitPathExists = await pathExists(gitPath); |
| 485 | |
| 486 | if (gitPathExists) { |
| 487 | return path; |
| 488 | } |
| 489 | |
| 490 | const parentPath = pathModule.dirname(path); |
| 491 | |
| 492 | if (parentPath === path) { |
| 493 | return undefined; |
| 494 | } |
| 495 | |
| 496 | return findGitPath(parentPath); |
| 497 | } |
| 498 | |
| 499 | async function updateJobCatalogWithNewIntegration( |
| 500 | monorepoPath: string, |
no test coverage detected
searching dependent graphs…