We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4faf920 commit 67e03a4Copy full SHA for 67e03a4
index.js
@@ -105,7 +105,7 @@ class ServerlessDynamodbLocal {
105
}
106
};
107
108
- const stage = this.options.stage || this.service.provider.stage;
+ const stage = (this.options && this.options.stage) || this.service.provider.stage;
109
if (this.config.stages && !this.config.stages.includes(stage)) {
110
// don't do anything for this stage
111
this.hooks = {};
0 commit comments