From d8cc87c301815655cc9d70afd3c926f5deb1a7e8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 20 Mar 2024 16:17:20 +0100 Subject: [PATCH] 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. --- content/self-host/client-deployment/_index.en.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/content/self-host/client-deployment/_index.en.md b/content/self-host/client-deployment/_index.en.md index ef5d45b..ef1c3fd 100644 --- a/content/self-host/client-deployment/_index.en.md +++ b/content/self-host/client-deployment/_index.en.md @@ -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) }