Skip to content

Commit

Permalink
feat: Invoke-Interpreter - JSONifying and unrolling arguments ( Fixes #…
Browse files Browse the repository at this point in the history
…896 )

Passing Converted Arguments in all Circumstances
  • Loading branch information
James Brundage committed Feb 4, 2024
1 parent 155b311 commit ceeb0b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Commands/Interpreters/Invoke-Interpreter.ps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ function Invoke-Interpreter {
}
} else {
if ($MyInvocation.ExpectingInput) {
$input | & $interpreterCommand $invocationName @args
$input | & $interpreterCommand $invocationName @convertedArguments
} else {
& $interpreterCommand $invocationName @args
& $interpreterCommand $invocationName @convertedArguments
}
}
}
Expand Down

0 comments on commit ceeb0b2

Please sign in to comment.