Skip to content

Commit 5ff22d7

Browse files
committed
execute npm run format
1 parent afa84be commit 5ff22d7

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/Packages.res

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -503,15 +503,10 @@ let parsePkgs = data => {
503503

504504
// Convert a repository url from SSH to HTTPS.
505505
let repositoryHref = switch repositoryHref {
506-
| href if String.startsWith(href, "git+ssh") => {
507-
String.replace(href, "git+ssh:", "https:") }
508-
| href if String.startsWith(href, "git+") => {
509-
String.replace(href, "git+", "")
510-
}
511-
| href if String.startsWith(href, "git:") => {
512-
String.replace(href, "git:", "https:")
513-
}
514-
| href => href
506+
| href if String.startsWith(href, "git+ssh") => String.replace(href, "git+ssh:", "https:")
507+
| href if String.startsWith(href, "git+") => String.replace(href, "git+", "")
508+
| href if String.startsWith(href, "git:") => String.replace(href, "git:", "https:")
509+
| href => href
515510
}
516511

517512
Some({

0 commit comments

Comments
 (0)