chore: temporarily remove gitlab

This commit is contained in:
EnixCoda 2020-03-29 17:01:33 +08:00
parent 1f92181337
commit 55870b94a1
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -3,12 +3,8 @@ import { dummyPlatformForTypeSafety } from './dummyPlatformForTypeSafety'
import { Gitee } from './Gitee'
import { GitHub } from './GitHub'
const platformsMap: Record<
'GitHub' | 'GitLab' | 'Gitee',
{ platform: Platform; hosts: string[] }
> = {
const platformsMap: Record<'GitHub' | 'Gitee', { platform: Platform; hosts: string[] }> = {
GitHub: { platform: GitHub, hosts: ['github.com'] },
GitLab: { platform: GitHub, hosts: ['gitlab.com'] },
Gitee: { platform: Gitee, hosts: ['gitee.com'] },
}