<commit_before>'use strict';

let spawn = require('child_process').spawn,
    BbPromise = require('bluebird'),
    installer = require('./installer');

const DOWNLOAD_PATH = 'http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz',
    JAR = 'DynamoDBLocal.jar',
    DB_PATH = './dynamodb/bin';

let runningProcesses = {},
    dynamodb = {
        /**
         *
         * @param options
         * @returns {Promise.<ChildProcess>}
         */
        start: function (options) {
            return new BbPromise(function (resolve) {
                /* Dynamodb local documentation http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html */
                let additionalArgs = [];

                if (options.dbPath) { //<commit_msg>Updating the installation path problem<commit_after>'use strict';

let spawn = require('child_process').spawn,
    BbPromise = require('bluebird'),
    path = require('path'),
    installer = require('./installer');

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

let runningProcesses = {},
    dynamodb = {
        /**
         *
         * @param options
         * @returns {Promise.<ChildProcess>}
         */
        start: function (options) {
            return new BbPromise(function (resolve) {
                /* Dynamodb local documentation http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html */
                let additionalArgs = [];

                if (options.dbPath) { //
{'fraction_non_alphanumeric': 0.13855421686746988, 'fraction_numerical': 0.0024096385542168677, 'mean_word_length': 2.453222453222453, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7509747', 'n_tokens_mistral': 512, 'n_tokens_neox': 494, 'n_words': 83}