Fix personal theme

This commit is contained in:
Pieter Vander Vennet 2022-02-24 03:48:28 +01:00
parent 80c24bddca
commit 696375fec9
4 changed files with 5 additions and 24 deletions

View file

@ -23,7 +23,7 @@ export abstract class Conversion<TIn, TOut> {
throw fixed.errors.join("\n\n");
}
fixed.information?.forEach(i => console.log(" ", i))
const yellow = (s) => "\x1b[33m"+s+"\x1b[0m"
const yellow = (s) => "\x1b[33m"+s+"\x1b[0m"
const red = s => '\x1b[31m'+s+'\x1b[0m'
fixed.warnings?.forEach(w => console.warn(red(`<!> `), yellow (w)))