mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fix for empty plugins property in serverless.yml
This commit is contained in:
parent
38d70ed12f
commit
c8a9b3cf6d
@ -73,7 +73,7 @@ class PluginManager {
|
||||
}
|
||||
|
||||
loadServicePlugins(servicePlugs) {
|
||||
const servicePlugins = (typeof servicePlugs !== 'undefined' ? servicePlugs : []);
|
||||
const servicePlugins = (servicePlugs && typeof servicePlugs !== 'undefined' ? servicePlugs : []);
|
||||
|
||||
// we want to load plugins installed locally in the service
|
||||
if (this.serverless && this.serverless.config && this.serverless.config.servicePath) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user