File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
powershell/ql/test/library-tests/dataflow/pipeline Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -37,4 +37,14 @@ function consumeValueFromPipelineByPropertyNameWithoutProcess {
37
37
}
38
38
39
39
$x = Source " 8"
40
- [pscustomobject ]@ {x = $x } | consumeValueFromPipelineByPropertyNameWithoutProcess
40
+ [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
You can’t perform that action at this time.
0 commit comments