Skip to content

Commit 86a2047

Browse files
committed
Fixing dbPath not working with relative path issue #161
1 parent d0c60b5 commit 86a2047

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
@@ -209,7 +209,7 @@ class ServerlessDynamodbLocal {
209209

210210
let dbPath = options.dbPath;
211211
if (dbPath) {
212-
options.dbPath = path.isAbsolute(dbPath) ? dbPath : path.join(this.serverless.config.servicePath, dbPath)
212+
options.dbPath = path.isAbsolute(dbPath) ? dbPath : path.join(this.serverless.config.servicePath, dbPath);
213213
}
214214

215215
if (!options.noStart) {

0 commit comments

Comments
 (0)