diff --git a/src/dev/index.ts b/src/dev/index.ts index 19e900531..b7e072ba4 100644 --- a/src/dev/index.ts +++ b/src/dev/index.ts @@ -30,6 +30,7 @@ enum style { } function warn(module: string, message: string, args: Array = [], styleArgs: Array> = []): void { + args = args.filter((arg) => arg !== null) args = args.map((arg) => typeof arg === "string" ? "\n > " + arg : arg) let styleKey = 0