Skip to content

Commit 2f40661

Browse files
committed
Merge fixes
1 parent 54d15b6 commit 2f40661

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ class ServerlessDynamodbLocal {
9696

9797
dynamodbOptions() {
9898
const { config } = this;
99-
const port = _.get(config, 'start.port', 8000):
99+
const port = _.get(config, 'start.port', 8000);
100100
const dynamoOptions = {
101101
endpoint: `http://localhost:${port}`,
102102
region: "localhost",
103103
accessKeyId: "MOCK_ACCESS_KEY_ID",
104104
secretAccessKey: "MOCK_SECRET_ACCESS_KEY"
105105
};
106-
106+
107107
return {
108108
raw: new AWS.DynamoDB(dynamoOptions),
109109
doc: new AWS.DynamoDB.DocumentClient(dynamoOptions)
@@ -139,7 +139,6 @@ class ServerlessDynamodbLocal {
139139

140140
startHandler() {
141141
const { config } = this;
142-
const config = this.service.custom.dynamodb;
143142
const options = _.merge({
144143
sharedDb: this.options.sharedDb || true
145144
},

0 commit comments

Comments
 (0)