(type: string)
| 97 | } |
| 98 | |
| 99 | export function formatProvider(type: string): string { |
| 100 | switch (type) { |
| 101 | case 'github': |
| 102 | return 'GitHub'; |
| 103 | case 'gitlab': |
| 104 | return 'GitLab'; |
| 105 | case 'bitbucket': |
| 106 | return 'Bitbucket'; |
| 107 | default: |
| 108 | return type; |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | export function buildRepoUrl( |
| 113 | provider: string, |
no outgoing calls
no test coverage detected