Skip to content

Commit

Permalink
fix: fix colorette usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jaulz committed Mar 13, 2023
1 parent b679b12 commit c3866f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/vite/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ export function callShell(executable: string, ...parameters: string[]): string {
*/
export function warn(prefix: string, message: string, ...args: any[]) {
console.warn(
colorette.yellow.bold(`(!) ${colorette.cyan(prefix)} ${message}`, ...args),
colorette.bold(
colorette.yellow(`(!) ${colorette.cyan(prefix)} ${message}`),
),
...args,
)
}

0 comments on commit c3866f0

Please sign in to comment.