Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jun 14, 2023
1 parent a015e4e commit 4aa63bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite-plugin-ssr/node/plugin/shared/loggerNotProd/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function addPrefix(msg: string, projectTag: '[vite]' | ProjectTag, category: Log
if (logType === 'error-recover' && !hasGreen(msg)) return pc.green(pc.bold(s))
if (logType === 'warn' && !hasYellow(msg)) return pc.yellow(s)
if (projectTag === '[vite]') return pc.cyan(pc.bold(s))
if (projectTag.startsWith(`[${projectInfo.projectName}`)) return pc.yellow(pc.bold(s))
if (projectTag.startsWith(`[${projectInfo.projectName}`)) return pc.magenta(pc.bold(s))
assert(false)
}
let tag = color(pc.bold(`${projectTag}`))
Expand Down

0 comments on commit 4aa63bc

Please sign in to comment.