INNER CODE UNIT · JavaScript
BbPromise
99x/serverless-dynamodb-local · index.js:236
return new BbPromise((resolve) => dynamodbLocal.remove(resolve));
}
installHandler() {
const options = this.options;
return new BbPromise((resolve) => dynamodbLocal.install(resolve, options.localPath));
}
startHandler() {
if (this.shouldExecute()) {
const config = this.service.custom && this.service.custom.dynamodb || {};
const options = _.merge({
sharedDb: this.options.sharedDb || true,
install_path: this.options.localPath
},
config && config.start,
this.options
);