Skip to content

Commit 3d97a42

Browse files
committed
Updating the installation path problem
1 parent 58ecba3 commit 3d97a42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dynamodb/core.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
let spawn = require('child_process').spawn,
44
BbPromise = require('bluebird'),
5+
path = require('path'),
56
installer = require('./installer');
67

78
const DOWNLOAD_PATH = 'http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz',
89
JAR = 'DynamoDBLocal.jar',
9-
DB_PATH = './dynamodb/bin';
10+
DB_PATH = path.dirname(__filename) + '/bin';
1011

1112
let runningProcesses = {},
1213
dynamodb = {

0 commit comments

Comments
 (0)