We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7836a09 commit a8de859Copy full SHA for a8de859
1 file changed
powershell/ql/test/library-tests/dataflow/pipeline/test.ps1
@@ -37,4 +37,14 @@ function consumeValueFromPipelineByPropertyNameWithoutProcess {
37
}
38
39
$x = Source "8"
40
-[pscustomobject]@{x = $x} | consumeValueFromPipelineByPropertyNameWithoutProcess
+[pscustomobject]@{x = $x} | consumeValueFromPipelineByPropertyNameWithoutProcess
41
+
42
+function consumeValueFromPipelineByPropertyNameWithProcess {
43
+ Param([Parameter(ValueFromPipelineByPropertyName)] $x)
44
45
+ process {
46
+ Sink $x # $ MISSING: hasValueFlow=9 hasValueFlow=10 hasValueFlow=11
47
+ }
48
+}
49
50
+[pscustomobject]@{x = Source "9"}, [pscustomobject]@{x = Source "10"}, [pscustomobject]@{x = Source "11"} | consumeValueFromPipelineByPropertyNameWithProcess
0 commit comments