Skip to content

Commit 88b837d

Browse files
author
James Brundage
committed
Extending AST types (#145)
1 parent b9ae8ce commit 88b837d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Types/VariableExpressionAST/ConvertFromAST.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Most variables we will not know the value of until we have run.
2+
# the exceptions to the rule are: $true, $false, and $null
13
if ($this.variablePath.userPath -in 'true', 'false', 'null') {
24
$ExecutionContext.SessionState.PSVariable.Get($this.variablePath).Value
35
} else {

0 commit comments

Comments
 (0)