Skip to content

Commit ea3c471

Browse files
authored
Merge pull request #93 from remicastaing/patch-1
(fix) seeding
2 parents 081d25d + 7102fa2 commit ea3c471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class ServerlessDynamodbLocal {
181181
get seedSources() {
182182
const config = this.service.custom.dynamodb;
183183
const seedConfig = _.get(config, "seed", {});
184-
const seed = this.options.seed;
184+
const seed = this.options.seed || config.start.seed;
185185
let categories;
186186
if (typeof seed === "string") {
187187
categories = seed.split(",");

0 commit comments

Comments
 (0)