(repo: string)
| 149 | } |
| 150 | |
| 151 | export async function setupCodeRoadRemote(repo: string): Promise<never | void> { |
| 152 | // check coderoad remote not taken |
| 153 | const hasRemote = await checkRemoteExists() |
| 154 | // git remote add coderoad tutorial |
| 155 | // git fetch coderoad |
| 156 | if (hasRemote) { |
| 157 | // TODO: verify the remote is the same |
| 158 | return |
| 159 | } |
| 160 | await addRemote(repo) |
| 161 | } |
| 162 | |
| 163 | export async function loadCommitHistory(): Promise<string[]> { |
| 164 | try { |
nothing calls this directly
no test coverage detected