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 86a2047 commit 4faf920Copy full SHA for 4faf920
index.js
@@ -13,7 +13,7 @@ class ServerlessDynamodbLocal {
13
this.serverlessLog = serverless.cli.log.bind(serverless.cli);
14
this.config = this.service.custom && this.service.custom.dynamodb || {};
15
this.options = _.merge({
16
- localPath: path.join(serverless.config.servicePath, '.dynamodb')
+ localPath: serverless.config && path.join(serverless.config.servicePath, '.dynamodb')
17
},
18
options
19
);
0 commit comments