We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76987e8 commit 5946df9Copy full SHA for 5946df9
apps/desktop/src/lib/gitHost/gitHostFactory.ts
@@ -37,7 +37,7 @@ export class DefaultGitHostFactory implements GitHostFactory {
37
usePullRequestTemplate
38
});
39
}
40
- if (source.includes(GITLAB_DOMAIN) || resource.includes(GITLAB_SUB_DOMAIN)) {
+ if (source === GITLAB_DOMAIN || resource.startsWith(GITLAB_SUB_DOMAIN + ".")) {
41
return new GitLab({ repo, baseBranch, forkStr });
42
43
if (source.includes(BITBUCKET_DOMAIN)) {
0 commit comments