Skip to content

Commit

Permalink
Dependency upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Nov 29, 2024
1 parent 55207c2 commit dfc25e7
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 312 deletions.
4 changes: 3 additions & 1 deletion lib/util/LoggerUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export class LoggerUtil {
format.label(),
format.colorize(),
format.label({ label }),
format.printf(info => {
format.printf(infoUnknown => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const info = infoUnknown as {[key: string | symbol]: any}
if(info[SPLAT]) {
if(info[SPLAT].length === 1 && info[SPLAT][0] instanceof Error) {
const err: Error = info[SPLAT][0]
Expand Down
Loading

0 comments on commit dfc25e7

Please sign in to comment.