Skip to content

Commit

Permalink
fix: fix wrong colorize
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Oct 1, 2024
1 parent 6eabcf9 commit cc20565
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/core/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,7 @@ export const log = (
if (textType === "error") context.error(text);
else if (textType === "warning") context.warn(text);
} else {
const t = colorize(
`${text} Plugin: ${colorize(PLUGIN_NAME, "plugin")}\r\n`,
textType,
);
console.log(t);
console.log(`${text} Plugin: ${colorize(PLUGIN_NAME, "plugin")}\r\n`);
}
};

Expand Down

0 comments on commit cc20565

Please sign in to comment.