Fixing broken Experimental Feature list in powershell.config.json (#14858)

This commit is contained in:
Andrew 2021-02-22 12:41:03 -08:00 committed by GitHub
parent 8bc194cb11
commit e0b5414f21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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($_)
}
}