From 7fa36afaf9199a7fc213f7bf41d42ab6b6ac66de Mon Sep 17 00:00:00 2001
From: Daniel Nalborczyk <dnalborczyk@gmail.com>
Date: Sat, 16 Jul 2022 14:20:39 -0400
Subject: [PATCH] refactor: make method private

---
 src/ServerlessOffline.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/ServerlessOffline.js b/src/ServerlessOffline.js
index 0e15f254d..d18e23d3b 100644
--- a/src/ServerlessOffline.js
+++ b/src/ServerlessOffline.js
@@ -53,7 +53,7 @@ export default class ServerlessOffline {
       'offline:start': this.#startWithExplicitEnd.bind(this),
       'offline:start:end': this.end.bind(this),
       'offline:start:init': this.start.bind(this),
-      'offline:start:ready': this.ready.bind(this),
+      'offline:start:ready': this.#ready.bind(this),
     }
   }
 
@@ -88,7 +88,7 @@ export default class ServerlessOffline {
     await Promise.all(eventModules)
   }
 
-  async ready() {
+  async #ready() {
     await this.#listenForTermination()
   }
 
@@ -136,7 +136,7 @@ export default class ServerlessOffline {
    * */
   async #startWithExplicitEnd() {
     await this.start()
-    await this.ready()
+    await this.#ready()
     this.end()
   }