Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CLI/Services/ProjectLoaderService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public ProjectInfo LoadProject(string projectPath)
}
catch (Exception ex)
{
throw new InvalidOperationException($"Failed to load project: {projectPath}", ex);
throw new InvalidOperationException($"Failed to load project: {projectPath}{Environment.NewLine}Error: {ex.Message}", ex);
}
}
}
2 changes: 1 addition & 1 deletion src/CLI/Validation/ConfigurableValidationEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public IReadOnlyList<Violation> ValidateAll(IReadOnlyList<ModuleInfo> modules)

if (_verbose && violations.Any())
{
AnsiConsole.MarkupLine("[dim]Applied severity overrides, total violations: {0}[/]", violations.Count);
AnsiConsole.WriteLine($"Applied severity overrides, total violations: {violations.Count}");
}

return violations;
Expand Down
2 changes: 1 addition & 1 deletion src/CLI/Validation/Rules/ConfigurableValidationRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public ConfigurableValidationRule(
_configuration = configuration;
}

public string RuleName => $"ConfigurableRule[{_projectType}]";
public string RuleName => $"ConfigurableRule({_projectType})";

public bool AppliesTo(ModuleInfo module)
{
Expand Down