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 14, 2024
1 parent 27d053b commit 55eb4c3
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 @@ -125,11 +125,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 55eb4c3

Please sign in to comment.