Cleaned dev mode script

no refs

Cleans up dev mode script for lint errors
This commit is contained in:
Rishabh 2021-06-10 15:05:33 +05:30
parent 47c6509bea
commit f0ba337659

View File

@ -97,11 +97,11 @@ function printConfigInstruction() {
const stringifedData = JSON.stringify(data, null, 2);
const splitData = stringifedData.split('\n');
log();
splitData.forEach((data, idx, arr) => {
splitData.forEach((_data, idx, arr) => {
if (idx === 0 || idx === arr.length - 1) {
log(chalk.grey(data));
log(chalk.grey(_data));
} else {
log(chalk.bold.whiteBright(data));
log(chalk.bold.whiteBright(_data));
}
});
log();