Skip to content

Commit e5f3f76

Browse files
author
James Brundage
committed
feat: Invoke-Interpreter Call Operator Support ( Fixes #920 )
Whitespace edits.
2 parents 59f5a4f + b45c9ee commit e5f3f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Commands/Interpreters/Invoke-Interpreter.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function Invoke-Interpreter {
2828

2929
# If the first word is a variable
3030
if ($MyWords[0] -match '^\$(?<v>\w+)') {
31-
$firstWordVariableValue = $ExecutionContext.SessionState.PSVariable.Get($matches.0 -replace '^\s\$').Value
31+
$firstWordVariableValue = $ExecutionContext.SessionState.PSVariable.Get($matches.0 -replace '^\$').Value
3232
# and it has a value
3333
if ($firstWordVariableValue) {
3434
# use that as the InvocationName.

0 commit comments

Comments
 (0)