File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,24 +10,24 @@ Run AWS Lambda function locally!
1010```
1111
1212## Usage
13- Just specify function name (can be in nested directory), ` event ` object file.
14- Optionally you also may replace default ` context ` object and timeout (30 seconds by default).
13+ Just specify ` function name ` (can be in nested directory), ` event ` object file.
14+ Optionally you also may replace default ` context ` object and ` timeout ` (30 seconds by default).
1515```
1616$ cat function.js
1717exports.handler = function(event, context)
1818{
1919 context.done(event, context);
2020};
2121
22- $ aws-lambda-local git:(master) ✗ cat event.json
22+ $ cat event.json
2323{
2424 "obj" : { "a" : "b" },
2525 "int" : 1,
2626 "str" : "qwerty",
2727 "arr" : [1, 2, 3, 4]
2828}
2929
30- $ aws-lambda-local git:(master) ✗ ./lambda-local.js -f function -e event.json -t 20
30+ $ ./lambda-local.js -f function -e event.json -t 20
3131ERROR
3232--------------------------------
3333{
You can’t perform that action at this time.
0 commit comments