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