Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/Packages.res
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,19 @@ let parsePkgs = data => {
->Resource.filterKeywords
->Resource.uniqueKeywords

// Convert a repository url from SSH to HTTPS.
let repositoryHref = switch repositoryHref {
| href if String.startsWith(href, "git+ssh") => {
String.replace(href, "git+ssh:", "https:") }
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is excessive trailing whitespace before the closing brace. This should be removed to maintain consistent formatting.

Copilot uses AI. Check for mistakes.

| href if String.startsWith(href, "git+") => {
String.replace(href, "git+", "")
}
| href if String.startsWith(href, "git:") => {
String.replace(href, "git:", "https:")
}
| href => href
}

Some({
name,
version,
Expand Down