Skip to content

Commit 9c030f5

Browse files
authored
Merge pull request #5 from datpmwork/enhance
Display Remote Return Value
2 parents 81da962 + b41f999 commit 9c030f5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Commands/SlsTinkerCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function handle()
5252

5353
try {
5454
$shell->setOutput($this->output);
55-
$shell->execute($code);
55+
$shell->writeReturnValue($shell->execute($code));
5656
} finally {
5757
$loader->unregister();
5858
}

src/Shells/LambdaShell.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ public function writeContextData($vars)
5151
*/
5252
public function extractContextData($output)
5353
{
54-
if ($this->platform == 'vapor') {
55-
$output = base64_decode($output);
56-
}
5754
$pattern = '/(.*(?:\r?\n.*)*)\[CONTEXT\](.*?)\[END_CONTEXT\]/s';
5855
preg_match($pattern, $output, $matches);
5956

0 commit comments

Comments
 (0)