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 2fcbb44 commit 6645c7dCopy full SHA for 6645c7d
Types/CommandAST/AsSentence.ps1
@@ -332,8 +332,8 @@ foreach ($potentialCommand in $potentialCommands) {
332
}
333
elseif ($currentParameter) {
334
if ($mappedParameters.Contains($currentParameter) -and
335
- $currentParameter.ParameterType -isnot [Collections.IList] -and
336
- $currentParameter.ParameterType -isnot [PSObject]
+ $currentParameterMetadata.ParameterType -ne [Collections.IList] -and
+ $currentParameterMetadata.ParameterType -ne [PSObject]
337
) {
338
$clauses += [PSCustomObject][Ordered]@{
339
PSTypeName = 'PipeScript.Sentence.Clause'
0 commit comments