We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d2131a commit a1d1368Copy full SHA for a1d1368
src/commands/publish.ts
@@ -68,9 +68,9 @@ export const publish = async (argv: string[]) => {
68
const chalk = (await import("chalk")).default;
69
invalidItemMessages.forEach((msg) => {
70
msg.errors.forEach((err) => {
71
- let text = chalk.red.bold(`${msg.name}: `);
72
- text += chalk.red(err);
73
- console.error(text);
+ const errorName = chalk.red.bold(msg.name + ":");
+ const errorDescription = chalk.red(err);
+ console.error(`${errorName} ${errorDescription}`);
74
});
75
76
0 commit comments