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 cb93d64 commit 14c6044Copy full SHA for 14c6044
1 file changed
app/composables/useRepositoryUrl.ts
@@ -1,14 +1,5 @@
1
import { joinURL } from 'ufo'
2
3
-function normalizeGitUrl(url: string): string {
4
- return url
5
- .replace(/^git\+/, '')
6
- .replace(/^git:\/\//, 'https://')
7
- .replace(/\.git$/, '')
8
- .replace(/^ssh:\/\/git@github\.com/, 'https://github.com')
9
- .replace(/^git@github\.com:/, 'https://github.com/')
10
-}
11
-
12
type RequestedVersion = SlimPackument['requestedVersion'] | null
13
14
type UseRepositoryUrlReturn = {
0 commit comments