Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
console.log("\n\t \x1b[2m🔥 " + link + " 🔥\x1b[0m");
// Series Name
if (this.seriesArray.name)
console.log("\nTournament: " + clc.redBright(this.seriesArray.name));
// Check and Print team Names
if (JSONData.team1.s_name && JSONData.team2.s_name) {
console.log(clc.greenBright(clc.italic("\n\t\t " + JSONData.team1.s_name)) + " VS " + clc.greenBright(clc.italic(JSONData.team2.s_name)));
}
// ------------------- START MATCH NOT STARTED BLOCK ----------------------
if (this.state == 'preview') {
console.log("-------------------------------------------");
console.log("\n\t☹️ Match not Started Yet !! ☹️\n");
console.log("-------------------------------------------");
}
// ------------------- MATCH NOT STARTED BLOCK ENDED ----------------------
config.pages.forEach(function(page) {
console.log(clc.italic(' http://:' + config.webPort + clc.bold(page.rootUrl)))
})
} else console.log(clc.bold('(2) Warning : no web pages declared'))
intalics.forEach(function (cur) {
finalStr = finalStr.replace(cur, cliColor.italic(cur.replace(/\<(\/)?i\>/g, '')));
});
}
client.start((err) => {
utils.handleError(err)
utils.logSuccess('saving and reading blobs from', clc.bold(client._config.blobsDir))
utils.logSuccess('receiving blobs on port', clc.bold(client._config.blobsPort))
utils.logSuccess('server',
clc.italic('host=' + clc.bold(client._config.serverHostname)
+ ', blobsPort=' + clc.bold(client._config.serverBlobsPort)))
})
}
intalics.forEach(function(cur){
finalStr = finalStr.replace(cur, cliColor.italic(cur.replace(/\<(\/)?i\>/g, '')));
});
}