Skip to content

Commit a95f3b3

Browse files
committed
PS: Accept test changes.
1 parent 6ab6279 commit a95f3b3

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
models
22
edges
3+
| test.ps1:2:14:2:23 | Call to source | test.ps1:5:25:7:1 | <initial env var> env:x | provenance | |
4+
| test.ps1:5:25:7:1 | <initial env var> env:x | test.ps1:6:5:6:15 | env:x | provenance | |
5+
| test.ps1:16:18:16:27 | Call to source | test.ps1:5:25:7:1 | <initial env var> env:x | provenance | |
36
nodes
7+
| test.ps1:2:14:2:23 | Call to source | semmle.label | Call to source |
8+
| test.ps1:5:25:7:1 | <initial env var> env:x | semmle.label | <initial env var> env:x |
9+
| test.ps1:6:5:6:15 | env:x | semmle.label | env:x |
10+
| test.ps1:16:18:16:27 | Call to source | semmle.label | Call to source |
411
subpaths
512
testFailures
613
#select
14+
| test.ps1:6:5:6:15 | env:x | test.ps1:2:14:2:23 | Call to source | test.ps1:6:5:6:15 | env:x | $@ | test.ps1:2:14:2:23 | Call to source | Call to source |
15+
| test.ps1:6:5:6:15 | env:x | test.ps1:16:18:16:27 | Call to source | test.ps1:6:5:6:15 | env:x | $@ | test.ps1:16:18:16:27 | Call to source | Call to source |

powershell/ql/test/library-tests/dataflow/global/test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function WriteToEnvVar {
33
}
44

55
function ReadFromEndVar {
6-
Sink $Env:x # $ MISSING: hasValueFlow=1 hasValueFlow=3
6+
Sink $Env:x # $ hasValueFlow=1 hasValueFlow=3
77
}
88

99
function WriteAndThenOverWriteEnvVar {

0 commit comments

Comments
 (0)