Skip to content

Commit

Permalink
changes private funciton indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
dwbelliston committed May 20, 2019
1 parent 0955bc8 commit b32daed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class ServerlessDynamodbLocal {
if (options.pauseDbAfterSeeding) {
this.serverlessLog("DynamoDB - Database is running. Waiting for user to stop...");
return BbPromise.resolve()
.then(() => this._listenForTermination())
.then(() => this.listenForTermination())
.then(() => this.endHandler());
}
});
Expand Down Expand Up @@ -302,7 +302,7 @@ class ServerlessDynamodbLocal {
}).filter((n) => n);
}

_listenForTermination() {
listenForTermination() {
// SIGINT will be usually sent when user presses ctrl+c
const waitForSigInt = new Promise((resolve) => {
process.on("SIGINT", () => resolve("SIGINT"));
Expand Down

0 comments on commit b32daed

Please sign in to comment.