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 d42f85c commit afa84beCopy full SHA for afa84be
src/Packages.res
@@ -501,6 +501,19 @@ let parsePkgs = data => {
501
->Resource.filterKeywords
502
->Resource.uniqueKeywords
503
504
+ // Convert a repository url from SSH to HTTPS.
505
+ 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
515
516
+
517
Some({
518
name,
519
version,
0 commit comments