From 97965463d3dc1245d073deb5f17379c96bbd8db4 Mon Sep 17 00:00:00 2001 From: Segev Finer Date: Fri, 4 Mar 2022 22:44:19 +0200 Subject: [PATCH] nvs@1.6.0: Use call operator instead of powershell cli (#3351) * nvs@1.6.0: Use call operator instead of powershell cli Closes #3350 * Quote nvs path in post install Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> --- bucket/nvs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/nvs.json b/bucket/nvs.json index 401dbdd8cd..765a143267 100644 --- a/bucket/nvs.json +++ b/bucket/nvs.json @@ -12,7 +12,7 @@ "NVS_HOME": "$dir\\nodejs" }, "post_install": [ - "powershell -NoProfile -File $dir\\nvs.ps1 remote | Out-Null", + "& \"$dir\\nvs.ps1\" remote | Out-Null", "$CONF = (Get-Content \"$persist_dir\\nodejs\\settings.json\") | ConvertFrom-Json", "Add-Member -NotePropertyName linkToSystem -NotePropertyValue $false -Force -InputObject $CONF", "ConvertTo-Json $CONF | Out-File -encoding \"ASCII\" \"$persist_dir\\nodejs\\settings.json\""