serverless-http-invoker 3.0.5 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/PULL_REQUEST_TEMPLATE.md +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -28,5 +28,5 @@ Examples:
|
|
|
28
28
|
## Todos:
|
|
29
29
|
|
|
30
30
|
- [ ] Write tests
|
|
31
|
-
- [ ] Fix linting errors
|
|
32
|
-
- [ ] All tests pass on our CI Server
|
|
31
|
+
- [ ] Fix linting errors (run `npm run lint` locally)
|
|
32
|
+
- [ ] All tests pass on our CI Server (you should see green "checks" in the PR, you can also run these locally with `npm run test`)
|
package/index.js
CHANGED
|
@@ -56,7 +56,7 @@ class ServerlessInvoker {
|
|
|
56
56
|
const sls = new Serverless(config)
|
|
57
57
|
// NOTE: I've seen sls.init() run very slowly; nearly 500ms!
|
|
58
58
|
return sls.init().then(() => {
|
|
59
|
-
sls.service.load().then(() => {
|
|
59
|
+
return sls.service.load().then(() => {
|
|
60
60
|
sls.service.setFunctionNames({})
|
|
61
61
|
sls.service.mergeArrays()
|
|
62
62
|
sls.service.validate()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "serverless-http-invoker",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
4
4
|
"description": "Locally invoke Serverless functions via their HTTP event as specified in Serverless.yml for testing.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Scott Willeke <scott@willeke.com> (https:/scott.willeke.com/)",
|