Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public Task<bool> ValidateRedirects(IDiagnosticsCollector collector, string? pat
var redirectFile = new RedirectFile(buildContext);
if (!redirectFile.Source.Exists)
{
collector.EmitError(redirectFile.Source, "File does not exist");
return Task.FromResult(false);
_logger.LogInformation("Redirect file {RedirectFile} does not exist, no redirects to validate.", redirectFile.Source);
return Task.FromResult(true);
}

var redirects = redirectFile.Redirects;
Expand Down
Loading