()
| 26 | } |
| 27 | |
| 28 | async initialize(): Promise<void> { |
| 29 | const gitAvailable = await this.verifyGitAvailability(); |
| 30 | if (!gitAvailable) { |
| 31 | throw new Error( |
| 32 | 'Checkpointing is enabled, but Git is not installed. Please install Git or disable checkpointing to continue.', |
| 33 | ); |
| 34 | } |
| 35 | this.setupShadowGitRepository(); |
| 36 | } |
| 37 | |
| 38 | verifyGitAvailability(): Promise<boolean> { |
| 39 | return new Promise((resolve) => { |
nothing calls this directly
no test coverage detected