We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1564e7 commit 733b2dcCopy full SHA for 733b2dc
index.js
@@ -236,7 +236,7 @@ class ServerlessDynamodbLocal {
236
if (options.pauseDbAfterSeeding) {
237
this.serverlessLog("DynamoDB - Database is running. Waiting for user to stop...");
238
return BbPromise.resolve()
239
- .then(() => this._listenForTermination())
+ .then(() => this.listenForTermination())
240
.then(() => this.endHandler());
241
}
242
});
@@ -271,7 +271,7 @@ class ServerlessDynamodbLocal {
271
}).filter((n) => n);
272
273
274
- _listenForTermination() {
+ listenForTermination() {
275
// SIGINT will be usually sent when user presses ctrl+c
276
const waitForSigInt = new Promise((resolve) => {
277
process.on("SIGINT", () => resolve("SIGINT"));
0 commit comments