From 9cc8b3656aa016a6443980488b3cb5d1e431fb34 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Thu, 18 Mar 2021 13:33:14 +0900
Subject: [PATCH] lint

---
 src/misc/before-shutdown.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/misc/before-shutdown.ts b/src/misc/before-shutdown.ts
index 58d0ea5108..8639d42b04 100644
--- a/src/misc/before-shutdown.ts
+++ b/src/misc/before-shutdown.ts
@@ -32,7 +32,9 @@ const shutdownListeners = [];
  * @param  {function(string)} fn Function to execute on shutdown.
  */
 const processOnce = (signals, fn) => {
-	return signals.forEach(sig => process.once(sig, fn));
+	for (const sig of signals) {
+		process.once(sig, fn);
+	}
 };
 
 /**