Remove red color from the kbn-pm logs (#24362)

* feat(NA): remove red color from the kbn-pm logs.

* refact(NA): removed gray color from the generateColors function.

* chore(NA): update missing km pm dist file.
This commit is contained in:
Tiago Costa 2018-10-23 21:50:59 +01:00 committed by GitHub
parent 8acf04b417
commit 7a2627797f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -35330,7 +35330,7 @@ var _strongLogTransformer2 = _interopRequireDefault(_strongLogTransformer);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function generateColors() {
const colorWheel = [_chalk2.default.cyan, _chalk2.default.magenta, _chalk2.default.blue, _chalk2.default.yellow, _chalk2.default.green, _chalk2.default.red];
const colorWheel = [_chalk2.default.cyan, _chalk2.default.magenta, _chalk2.default.blue, _chalk2.default.yellow, _chalk2.default.green];
const count = colorWheel.length;
let children = 0;
return () => colorWheel[children++ % count];

View file

@ -23,7 +23,7 @@ import logSymbols from 'log-symbols';
import logTransformer from 'strong-log-transformer';
function generateColors() {
const colorWheel = [chalk.cyan, chalk.magenta, chalk.blue, chalk.yellow, chalk.green, chalk.red];
const colorWheel = [chalk.cyan, chalk.magenta, chalk.blue, chalk.yellow, chalk.green];
const count = colorWheel.length;
let children = 0;