Skip to content

Commit b32daed

Browse files
committed
changes private funciton indicator
1 parent 0955bc8 commit b32daed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class ServerlessDynamodbLocal {
265265
if (options.pauseDbAfterSeeding) {
266266
this.serverlessLog("DynamoDB - Database is running. Waiting for user to stop...");
267267
return BbPromise.resolve()
268-
.then(() => this._listenForTermination())
268+
.then(() => this.listenForTermination())
269269
.then(() => this.endHandler());
270270
}
271271
});
@@ -302,7 +302,7 @@ class ServerlessDynamodbLocal {
302302
}).filter((n) => n);
303303
}
304304

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

0 commit comments

Comments
 (0)