(input: string)
| 62 | } |
| 63 | |
| 64 | function normalizeRepositoryInput(input: string) { |
| 65 | return input |
| 66 | .trim() |
| 67 | .replace(/^git\+/, "") |
| 68 | .replace(/#.*$/, "") |
| 69 | .replace(/\/+$/, "") |
| 70 | } |
| 71 | |
| 72 | function trimGitSuffix(input: string) { |
| 73 | return input.replace(/\.git$/, "") |
no outgoing calls
no test coverage detected