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 1be9a7e commit 9da95c8Copy full SHA for 9da95c8
Commands/Interpreters/Invoke-Interpreter.ps.ps1
@@ -27,7 +27,7 @@ function Invoke-Interpreter {
27
28
# If the first word is a variable
29
if ($MyWords[0] -match '^\$(?<v>\w+)') {
30
- $firstWordVariableValue = $ExecutionContext.SessionState.PSVariable.Get($matches.0 -replace '^\s\$').Value
+ $firstWordVariableValue = $ExecutionContext.SessionState.PSVariable.Get($matches.0 -replace '^\$').Value
31
# and it has a value
32
if ($firstWordVariableValue) {
33
# use that as the InvocationName.
0 commit comments