Fix bug in gitHost factory

- you might have github enabled but not in a github repo
This commit is contained in:
Mattias Granlund 2024-07-14 21:15:42 +01:00
parent 6ef7279088
commit 572d43f41b

View File

@ -19,6 +19,5 @@ export class DefaultGitHostFactory implements GitHostFactory {
if (!this.octokit) throw new Error('Octokit not available');
return new GitHub(this.octokit, repo, new ProjectMetrics());
}
throw new Error('');
}
}