Skip to content

Commit 733b2dc

Browse files
committed
changes private funciton indicator
1 parent a1564e7 commit 733b2dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class ServerlessDynamodbLocal {
236236
if (options.pauseDbAfterSeeding) {
237237
this.serverlessLog("DynamoDB - Database is running. Waiting for user to stop...");
238238
return BbPromise.resolve()
239-
.then(() => this._listenForTermination())
239+
.then(() => this.listenForTermination())
240240
.then(() => this.endHandler());
241241
}
242242
});
@@ -271,7 +271,7 @@ class ServerlessDynamodbLocal {
271271
}).filter((n) => n);
272272
}
273273

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

0 commit comments

Comments
 (0)