mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix: a missed invocation of colors
This commit is contained in:
@@ -32,11 +32,11 @@ function buildTargets() {
|
|||||||
|
|
||||||
return [name, arr.join(', ')];
|
return [name, arr.join(', ')];
|
||||||
}).map(tuple => ` ${chalk.magenta(_.padEnd(`"${tuple[0]}"`, length + 2))} | ${tuple[1]}`).join('\n');
|
}).map(tuple => ` ${chalk.magenta(_.padEnd(`"${tuple[0]}"`, length + 2))} | ${tuple[1]}`).join('\n');
|
||||||
console.log(
|
process.stdout.write(
|
||||||
`\n\n Build targets:\n${
|
'\n\n Build targets:\n' +
|
||||||
(`\n ${_.padEnd('Target', length + 2)} | Aliases`).green
|
`${chalk.green(`\n ${_.padEnd('Target', length + 2)} | Aliases`)}` +
|
||||||
}${'\n ------------------------------------------------------\n'.blue
|
`${chalk.blue('\n ------------------------------------------------------\n')}` +
|
||||||
}${output}\n`
|
`${output}\n\n`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user