1
0
Fork 0
forked from svrjs/svrjs

Add "let" before "i=0" for logo iterative loop

This commit is contained in:
Dorian Niemiec 2024-08-25 19:40:27 +02:00
parent 9db7ffdaec
commit e85f53197c

View file

@ -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" +