(args: string[])
| 378 | } |
| 379 | |
| 380 | function git(args: string[]): string | null { |
| 381 | try { |
| 382 | return execFileSync('git', args, { |
| 383 | cwd: ROOT, |
| 384 | encoding: 'utf8', |
| 385 | stdio: ['ignore', 'pipe', 'ignore'], |
| 386 | }).trim() |
| 387 | } catch { |
| 388 | return null |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | /** New migration files on this branch vs base, plus uncommitted ones locally. */ |
| 393 | function changedMigrationFiles(baseRef: string): string[] { |
no outgoing calls
no test coverage detected