You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use grunt lambda_invoke on even the hello world script, it gives the error:
$ grunt lambda_invoke:HelloWorld
Running "lambda_invoke:HelloWorld" (lambda_invoke) task
Loading function
value1 = First Value
value2 = Second Value
value3 = Third Value
Warning: undefined is not a functionUse --force to continue.
Aborted due to warnings.
I found the issue is that context.succeed function is not defined in the invoke.
Is this project still active? If so I can submit a PR to fix this by fully mocking the context object as documented in the AWS Lambda docs. Thanks!
The text was updated successfully, but these errors were encountered:
When you use
grunt lambda_invoke
on even the hello world script, it gives the error:I found the issue is that
context.succeed
function is not defined in the invoke.Is this project still active? If so I can submit a PR to fix this by fully mocking the context object as documented in the AWS Lambda docs. Thanks!
The text was updated successfully, but these errors were encountered: