From 519c80f397edf5c60737507c7d6f16e0813bd1b2 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 1 Sep 2024 09:51:29 +0200 Subject: [PATCH] Convert one more string to template string --- src/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index b834036..a30338b 100644 --- a/src/index.js +++ b/src/index.js @@ -1482,10 +1482,7 @@ function SVRJSFork() { newWorker.on("error", (err) => { if (!exiting) serverconsole.locwarnmessage( - "There was a problem when handling " + - name + - " worker! (from master process side) Reason: " + - err.message, + `There was a problem when handling ${name} worker! (from master process side) Reason: ${err.message}`, ); }); newWorker.on("exit", () => {