*Types changed with chalk
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
ce713cdb15
commit
d54fe4666f
|
@ -4,7 +4,7 @@ import * as os from "os";
|
||||||
import * as fs from "fs";
|
import * as fs from "fs";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import log from "loglevel";
|
import log from "loglevel";
|
||||||
import chalk, { ChalkInstance } from "chalk";
|
import chalk, { Chalk } from "chalk";
|
||||||
import prefix from "loglevel-plugin-prefix";
|
import prefix from "loglevel-plugin-prefix";
|
||||||
|
|
||||||
const config = new Config("lumeweb-relay");
|
const config = new Config("lumeweb-relay");
|
||||||
|
@ -62,7 +62,7 @@ const colors = {
|
||||||
INFO: chalk.blue,
|
INFO: chalk.blue,
|
||||||
WARN: chalk.yellow,
|
WARN: chalk.yellow,
|
||||||
ERROR: chalk.red,
|
ERROR: chalk.red,
|
||||||
} as { [level: string]: ChalkInstance };
|
} as { [level: string]: Chalk };
|
||||||
|
|
||||||
prefix.reg(log);
|
prefix.reg(log);
|
||||||
log.enableAll();
|
log.enableAll();
|
||||||
|
|
Loading…
Reference in New Issue