We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0955bc8 commit b32daedCopy full SHA for b32daed
index.js
@@ -265,7 +265,7 @@ class ServerlessDynamodbLocal {
265
if (options.pauseDbAfterSeeding) {
266
this.serverlessLog("DynamoDB - Database is running. Waiting for user to stop...");
267
return BbPromise.resolve()
268
- .then(() => this._listenForTermination())
+ .then(() => this.listenForTermination())
269
.then(() => this.endHandler());
270
}
271
});
@@ -302,7 +302,7 @@ class ServerlessDynamodbLocal {
302
}).filter((n) => n);
303
304
305
- _listenForTermination() {
+ listenForTermination() {
306
// SIGINT will be usually sent when user presses ctrl+c
307
const waitForSigInt = new Promise((resolve) => {
308
process.on("SIGINT", () => resolve("SIGINT"));
0 commit comments