mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-12-13 00:33:49 +00:00
Replace colors with chalk.
Chalk has a few more options and doesn't mess around with String.prototype.
This commit is contained in:
@@ -39,8 +39,8 @@ Implementation of the 'analyze' verb for HackMyResume.
|
||||
function _analyze( resumeObject, nlzrs, opts, log ) {
|
||||
var rez = resumeObject.rez;
|
||||
var safeFormat = rez.meta.format.startsWith('FRESH') ? 'FRESH' : 'JRS';
|
||||
log('Analyzing '.useful + safeFormat.useful.bold +
|
||||
' resume: '.useful + resumeObject.file.useful.bold);
|
||||
log(chalk.cyan('Analyzing ') + chalk.cyan.bold(safeFormat) +
|
||||
chalk.cyan(' resume: ') + chalk.cyan.bold(resumeObject.file));
|
||||
var info = _.mapObject( nlzrs, function(val, key) {
|
||||
return val.run( resumeObject.rez );
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user