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 bf9ed3b commit 9adf028Copy full SHA for 9adf028
powershell/ql/lib/semmle/code/powershell/ast/internal/Synthesis.qll
@@ -675,8 +675,11 @@ private module LiteralSynth {
675
s = "null" and
676
child = SynthChild(NullLiteralKind())
677
or
678
- Raw::isEnvVariableAccess(va, s) and
679
- child = SynthChild(EnvVariableKind(s))
+ exists(string s0 |
+ s = "env:" + s0 and
680
+ Raw::isEnvVariableAccess(va, s0) and
681
+ child = SynthChild(EnvVariableKind(s0))
682
+ )
683
684
isAutomaticVariableAccess(va, s) and
685
child = SynthChild(AutomaticVariableKind(s))
0 commit comments