From e85f53197ca927a3df68e022327c8b590c30b4b1 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 19:40:27 +0200 Subject: [PATCH] Add "let" before "i=0" for logo iterative loop --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 8068707..45ca7be 100644 --- a/src/index.js +++ b/src/index.js @@ -1236,7 +1236,7 @@ function start(init) { init = Boolean(init); if (cluster.isPrimary || cluster.isPrimary === undefined) { if (init) { - for (i = 0; i < logo.length; i++) console.log(logo[i]); // Print logo + for (let i = 0; i < logo.length; i++) console.log(logo[i]); // Print logo console.log(); console.log( "Welcome to \x1b[1m" +