fix: fix formatting issue.
[poolifier.git] / examples / typescript / http-server-pool / express-hybrid / src / main.ts
index 838c6e26ed448959a22129b5435482bce7476a25..08563f4b2e753cefa3a331e9d0193be2a809f526 100644 (file)
@@ -34,7 +34,7 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
             console.error('Thread worker error:', e)
           }
         })
-        .then((response) => {
+        .then(response => {
           if (response.status) {
             console.info(
               // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
@@ -43,7 +43,7 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
           }
           return null
         })
-        .catch((error) => {
+        .catch(error => {
           console.error('Express failed to start in cluster worker:', error)
         })
     },