mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Make the variable an ArrayList to enable usage of Add() method (#14748)
This commit is contained in:
1 parent
d99afeed2d
commit
894db0feaa
1 file changed
+3
-1
+3
-1
@@ -591,7 +591,9 @@ Fix steps:
|
||||
# Special case for DSC code in PS;
|
||||
# this experimental feature requires new DSC module that is not inbox,
|
||||
# so we don't want default DSC use case be broken
|
||||
$expFeatures = Get-ExperimentalFeature | Where-Object Name -NE PS7DscSupport | ForEach-Object -MemberName Name
|
||||
[System.Collections.ArrayList] $expFeatures = Get-ExperimentalFeature | Where-Object Name -NE PS7DscSupport | ForEach-Object -MemberName Name
|
||||
|
||||
$expFeatures | Out-String | Write-Verbose -Verbose
|
||||
|
||||
# Make sure ExperimentalFeatures from modules in PSHome are added
|
||||
# https://github.com/PowerShell/PowerShell/issues/10550
|
||||
|
||||
Reference in new issue
Block a user