From 3b918ca0a139bfa6280132fe2d9eece6175dc53a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 20 Jul 2023 10:18:43 +0200 Subject: [PATCH] Fix non-functioning code --- scripts/Windows/Scripts/Prerequisites.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/Prerequisites.ps1 b/scripts/Windows/Scripts/Prerequisites.ps1 index 0d6aac5c..69261ddb 100644 --- a/scripts/Windows/Scripts/Prerequisites.ps1 +++ b/scripts/Windows/Scripts/Prerequisites.ps1 @@ -6,7 +6,7 @@ $null = powershell -c Get-PackageProvider -ListAvailable NuGet; if (-not $?) { Write-Host "Installing NuGet PackageProvider"; - powershell -c $null = Install-PackageProvider -Name NuGet -Force; + powershell -c '$null = Install-PackageProvider -Name NuGet -Force'; } foreach ($module in @("PSWindowsUpdate", "KnownFolders"))