mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Passing lint
This commit is contained in:
parent
8b7393db94
commit
c09355b4e0
@ -102,7 +102,6 @@ class AwsDeployFunction {
|
||||
}
|
||||
|
||||
callUpdateFunctionConfiguration(params) {
|
||||
console.info(params);
|
||||
return this.provider.request(
|
||||
'Lambda',
|
||||
'updateFunctionConfiguration',
|
||||
@ -146,7 +145,11 @@ class AwsDeployFunction {
|
||||
params.Timeout = providerObj.timeout;
|
||||
}
|
||||
|
||||
if ('layers' in functionObj && _.isArray(functionObj.layers) && !_.some(functionObj.layers, _.isObject)) {
|
||||
if (
|
||||
'layers' in functionObj
|
||||
&& _.isArray(functionObj.layers)
|
||||
&& !_.some(functionObj.layers, _.isObject)
|
||||
) {
|
||||
params.Layers = functionObj.layers;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user