(projectId: string)
| 55 | } |
| 56 | |
| 57 | export async function isGitRepository(projectId: string) { |
| 58 | try { |
| 59 | const { stdout } = await runGit(projectId, ['rev-parse', '--is-inside-work-tree']) |
| 60 | return stdout.trim() === 'true' |
| 61 | } catch { |
| 62 | return false |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | async function getStatusSummary(projectId: string) { |
| 67 | try { |
no test coverage detected