(repoPath: string)
| 39 | const repoPath = '/path/to/your/repo'; |
| 40 | |
| 41 | export async function updateRepo(repoPath: string) { |
| 42 | const outdated = await isRepoOutdated(repoPath); |
| 43 | if (outdated) { |
| 44 | await forceUpdateRepo(repoPath); |
| 45 | } else { |
| 46 | logger.info('Repository is up to date.'); |
| 47 | } |
| 48 | } |
nothing calls this directly
no test coverage detected