| 33 | * none exists. CLI exit code: 128. |
| 34 | */ |
| 35 | export class NotARepositoryError extends GitError { |
| 36 | constructor(dir: string, options?: { cause?: unknown }) { |
| 37 | super("ENOTAREPO", `not a git repository: ${dir}`, options); |
| 38 | this.name = "NotARepositoryError"; |
nothing calls this directly
no outgoing calls
no test coverage detected