From 0ba710254bf294f7c1e81ab5a6fa6a6382722d51 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 19 Feb 2021 14:59:04 -0800 Subject: [PATCH] Fixing broken ExpFeature list in powershell.config.json --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index 48ee8809303..9d8d267969b 100644 --- a/build.psm1 +++ b/build.psm1 @@ -599,7 +599,7 @@ Fix steps: # https://github.com/PowerShell/PowerShell/issues/10550 @("PSDesiredStateConfiguration.InvokeDscResource") | ForEach-Object { if (!$expFeatures.Contains($_)) { - $expFeatures.Add($_) + $null = $expFeatures.Add($_) } }