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 a762b5f commit 7c4627eCopy full SHA for 7c4627e
src/main/php/xp/lambda/RunLambda.class.php
@@ -37,7 +37,7 @@ public function run(): int {
37
$environment= $_ENV + ['AWS_LAMBDA_FUNCTION_NAME' => $name, 'AWS_REGION' => $region];
38
39
try {
40
- $target= $this->impl->newInstance(new Environment(getcwd(), Console::$out, []))->target();
+ $target= $this->impl->newInstance(new Environment(getcwd(), Console::$out, $environment))->target();
41
$lambda= $target instanceof Lambda ? [$target, 'process'] : $target;
42
} catch (Throwable $e) {
43
Console::$err->writeLine($e);
0 commit comments