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 efd5724 commit 0ad5973Copy full SHA for 0ad5973
index.js
@@ -181,7 +181,7 @@ class ServerlessDynamodbLocal {
181
get seedSources() {
182
const config = this.service.custom.dynamodb;
183
const seedConfig = _.get(config, "seed", {});
184
- const seed = this.options.seed;
+ const seed = this.options.seed ? this.options.seed : Object.keys(seedConfig).join(',');
185
if (!seed) {
186
this.serverlessLog("DynamoDB - No seed categories defined. Skipping data seeding.");
187
return [];
0 commit comments