Skip to content

Commit d80cfb2

Browse files
committed
chore: Enhance error message with verbose command suggestion
Added a suggestion to rerun the command with --verbose for more error details.
1 parent faa9fa0 commit d80cfb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnoCheck/CheckCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ public override async Task<int> ExecuteAsync(CommandContext context, CheckSettin
351351

352352
AnsiConsole.MarkupLine($"[bold red]{Icon.Bell} There were one or more problems detected.[/]");
353353
AnsiConsole.MarkupLine($"[bold red]Please review the errors and correct them and run {ToolInfo.ToolCommand} again.[/]");
354+
AnsiConsole.MarkupLine($"[bold red]For more details about the errors, rerun the command with --verbose.[/]");
354355
}
355356
else if (hasWarnings)
356357
{

0 commit comments

Comments
 (0)