New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow warmupFunction and log detachments #2
base: main
Are you sure you want to change the base?
Conversation
index.js
Outdated
@@ -107,9 +116,10 @@ Object.defineProperties( | |||
return new Ec2({ region: this.serverless.service.provider.region }); | |||
}), | |||
functionNames: d(function () { | |||
const warmupFunction = this.serverless.service.custom.warmup ? [this.serverless.service.custom.warmup.name] : []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
custom
may not be set, and actually CI fails on that.
Additional question do custom.warmup
comes from some plugin?
I think for such custom extra lambdas (from whatever plugins) might be good to propose special option
, from which we may read extra names (?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a better idea let us do that instead 👍
It's such a weird error mesage on test. |
It's because test doesn't expose some errors as it should. I've fixed it in master, just merge and after I've additionally updated dependencies, and new lint rule prompted me to split |
Adds: