This repository was archived by the owner on Feb 7, 2024. It is now read-only.
Commit e316664
Cristiano Diniz da Silva
Updating index.js to use Node v4.3
As mentioned in AWS documentation to migrate from Node v0.10 to v4.3, context functions would need to be updated to use the new nomenclature.
ref: http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-using-old-runtime.html#transition-to-new-nodejs-runtime
This commit will update the `context` functions of:
* context.fail(object)
* context.succeed()
To Node v4.3 format following what is suggested by the documentation provided by AWS.1 parent 3f2214a commit e316664
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | | - | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | | - | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
0 commit comments