mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-08-17 08:10:52 +03:00
Fix bug in gitHost factory
- you might have github enabled but not in a github repo
This commit is contained in:
parent
6ef7279088
commit
572d43f41b
@ -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('');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user