()
| 38 | } |
| 39 | |
| 40 | async close(): Promise<void> { |
| 41 | // Remove auth and restore persisted auth config if it existed |
| 42 | await this.removeAuth() |
| 43 | await this.restorePersistedAuth() |
| 44 | await this.removeSafeDirectory() |
| 45 | } |
| 46 | |
| 47 | async addSafeDirectory(): Promise<void> { |
| 48 | const exists = await this.git.configExists( |
no test coverage detected