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