We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f1f8f commit d9e0c91Copy full SHA for d9e0c91
module/Public/Add-CommandToManifest.ps1
@@ -35,7 +35,8 @@ function Add-CommandToManifest {
35
function GetManifestField ([string]$Name) {
36
$field = Find-Ast -First { $PSItem.Value -eq $Name } | Find-Ast -First
37
# This transforms a literal string array expression into it's output without invoking.
38
- $valueString = $field.ToString() -split '[,\n\s]' `
+ $valueString = $field.ToString() -replace '@\(\)' `
39
+ -split '[,\n\s]' `
40
-replace '['',\s]' `
41
-match '.' `
42
-as [List[string]]
0 commit comments