Skip to content

Commit

Permalink
Fix MicrosoftSsms
Browse files Browse the repository at this point in the history
Fix detection on $ResponseUri.ResponseUri
  • Loading branch information
aaronparker committed May 22, 2024
1 parent a92c966 commit 9763079
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Evergreen/Apps/Get-MicrosoftSsms.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function Get-MicrosoftSsms {
$Query = "?clcid="
$Uri = "$($Entry.link.href)$($Query)$($res.Get.Download.Language[$language.key])"
$ResponseUri = Resolve-SystemNetWebRequest -Uri $Uri
if ($ResponseUri.ResponseUri.AbsoluteUri -eq $true) {
if ($ResponseUri.ResponseUri -is [System.Uri]) {

# Construct the output; Return the custom object to the pipeline
$PSObject = [PSCustomObject] @{
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## VERSION

* Fixes an issue with `MicrosoftSsms`

## 2405.1033

* Adds `MicrosoftOpenJDK21`, `AdoptiumTemurin21`, `AzulZulu21`, `Proxyman`, `RedHatOpenJDK21`
Expand Down

0 comments on commit 9763079

Please sign in to comment.