Skip to content

Commit 527ad68

Browse files
authored
Merge pull request #146 from mvayngrib/fixoptions
fix: save merged options to inform endHandler
2 parents 265d341 + 6ac4c81 commit 527ad68

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ class ServerlessDynamodbLocal {
162162
config && config.start,
163163
this.options
164164
);
165+
166+
// otherwise endHandler will be mis-informed
167+
this.options = options;
165168
if (!options.noStart) {
166169
dynamodbLocal.start(options);
167170
}

0 commit comments

Comments
 (0)