Skip to content

Commit

Permalink
update(dev): update index.ts
Browse files Browse the repository at this point in the history
Signed-off-by: dy-xiaodong2022 <[email protected]>
  • Loading branch information
xiaodong2008 committed Dec 24, 2023
1 parent 0d514ff commit db2f35a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dev/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ enum style {
}

function warn(module: string, message: string, args: Array<any> = [], styleArgs: Array<keyof typeof style | Array<keyof typeof style>> = []): void {
args = args.filter((arg) => arg !== null)
args = args.map((arg) => typeof arg === "string" ? "\n > " + arg : arg)

let styleKey = 0
Expand Down

0 comments on commit db2f35a

Please sign in to comment.