Skip to content
Prev Previous commit
Next Next commit
Adjust message
  • Loading branch information
cotti committed Aug 6, 2025
commit 2454f02b3cf1e113b16cdb2bcf2b51c793937a94
2 changes: 1 addition & 1 deletion src/tooling/docs-builder/Cli/DiffCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public async Task<int> ValidateRedirects([Argument] string? path = null, Cancel
var changed = tracker.GetChangedFiles() as GitChange[] ?? [];

if (changed.Length > 0)
collector.EmitHint(string.Empty, $"Found {changed.Length} changed files in the current branch. Validating against redirects file '{redirectFileInfo.Name}'.");
collector.EmitHint(string.Empty, $"Found {changed.Length} changes to files related to documentation in the current branch.");

foreach (var notFound in changed.DistinctBy(c => c.FilePath).Where(c => c.ChangeType is GitChangeType.Deleted or GitChangeType.Renamed
&& !redirects.ContainsKey(c is RenamedGitChange renamed ? renamed.OldFilePath : c.FilePath)))
Expand Down