[go: up one dir, main page]

Skip to content

Commit

Permalink
fix: tweak chalk for error thrown in the recently version.
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Feb 1, 2021
1 parent 1693e93 commit 1ea6586
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/addHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ function run() {
if (passFiles.length) {
if (isVerbose) {
passFiles.forEach(function (path) {
console.log(chalk.green.dim(path));
console.log(chalk.green(path));
});
}
else {
console.log(chalk.green.dim(passFiles.length + ' files. (use argument "--verbose" see details)'));
console.log(chalk.green(passFiles.length + ' files. (use argument "--verbose" see details)'));
}
}
else {
Expand All @@ -105,7 +105,7 @@ function run() {
console.log('--------------------');
if (updatedFiles.length) {
updatedFiles.forEach(function (path) {
console.log(chalk.green.bright(path));
console.log(chalk.green(path));
});
}
else {
Expand All @@ -118,7 +118,7 @@ function run() {
console.log('----------------');
if (pendingFiles.length) {
pendingFiles.forEach(function (path) {
console.log(chalk.red.dim(path));
console.log(chalk.red(path));
});
}
else {
Expand Down

0 comments on commit 1ea6586

Please sign in to comment.