forked from svrjs/svrjs
Add "let" before "i=0" for logo iterative loop
This commit is contained in:
parent
9db7ffdaec
commit
e85f53197c
1 changed files with 1 additions and 1 deletions
|
@ -1236,7 +1236,7 @@ function start(init) {
|
||||||
init = Boolean(init);
|
init = Boolean(init);
|
||||||
if (cluster.isPrimary || cluster.isPrimary === undefined) {
|
if (cluster.isPrimary || cluster.isPrimary === undefined) {
|
||||||
if (init) {
|
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();
|
||||||
console.log(
|
console.log(
|
||||||
"Welcome to \x1b[1m" +
|
"Welcome to \x1b[1m" +
|
||||||
|
|
Reference in a new issue