Update _index.en.md

When using deployment tools (like PDQ) the multi-line params caused an exception when running the nested ps1 script. Changing it to an by-line approach solved this.
This commit is contained in:
Matthias 2024-03-20 16:17:20 +01:00 committed by GitHub
parent 54af517ceb
commit d8cc87c301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,12 +67,10 @@ function getLatest()
}
# Create object to return
$Result = New-Object PSObject -Property
@{
Version = $Version
Downloadlink = $Downloadlink
}
$params += @{Version = $Version}
$params += @{Downloadlink = $Downloadlink}
$Result = New-Object PSObject -Property $params
return($Result)
}