Skip to content

Commit

Permalink
🐛 Fix blob storage extra slash (#92)
Browse files Browse the repository at this point in the history
Resolves an issue where feeds that provide a trailing slash on their repositories and are strict on slashes (Azure Blob Storage) wouldn't resolve correctly.
  • Loading branch information
JustinGrote authored Sep 4, 2024
1 parent 74bbac1 commit a72f505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModuleFast.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,7 @@ function Get-ModuleInfoAsync {
| Sort-Object -Property '@type' -Descending
| Select-Object -ExpandProperty '@id' -First 1

$Uri = "$registrationBase/$($ModuleId.ToLower())/$Path"
$Uri = "$($registrationBase -replace '/$','')/$($ModuleId.ToLower())/$Path"
}

$requestTask = $SCRIPT:RequestCache[$Uri]
Expand Down

0 comments on commit a72f505

Please sign in to comment.