Skip to content

Commit a72f505

Browse files
authored
🐛 Fix blob storage extra slash (#92)
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.
1 parent 74bbac1 commit a72f505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ModuleFast.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@ function Get-ModuleInfoAsync {
16541654
| Sort-Object -Property '@type' -Descending
16551655
| Select-Object -ExpandProperty '@id' -First 1
16561656

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

16601660
$requestTask = $SCRIPT:RequestCache[$Uri]

0 commit comments

Comments
 (0)