Skip to content

Commit 0a154a8

Browse files
authored
Merge pull request #139 from 99xt/AshanFernando-patch-1
Fixing seeding command issue without --seed params
2 parents 644074b + edbf8e7 commit 0a154a8

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
@@ -222,7 +222,7 @@ class ServerlessDynamodbLocal {
222222
get seedSources() {
223223
const config = this.service.custom.dynamodb;
224224
const seedConfig = _.get(config, "seed", {});
225-
const seed = this.options.seed || config.start.seed;
225+
const seed = this.options.seed || config.start.seed || seedConfig;
226226
let categories;
227227
if (typeof seed === "string") {
228228
categories = seed.split(",");

0 commit comments

Comments
 (0)