()
| 96 | } |
| 97 | |
| 98 | export async function initIfNotExists(): Promise<never | void> { |
| 99 | const hasGitInit = exists('.git') |
| 100 | if (!hasGitInit) { |
| 101 | await init() |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | export async function checkRemoteConnects(repo: TT.TutorialRepo): Promise<never | void> { |
| 106 | // check for git repo |