diff --git a/src/NuPU/UpdateCommand.cs b/src/NuPU/UpdateCommand.cs index b764844..d2014fa 100644 --- a/src/NuPU/UpdateCommand.cs +++ b/src/NuPU/UpdateCommand.cs @@ -181,13 +181,17 @@ public override async Task ExecuteAsync(CommandContext context, UpdateComma catch { } } + if (showUpToDate) AnsiConsole.MarkupLine(UpToDate); + // If we had any unauthenticated sources we remove them to avoid requesting them for the next package. foreach (var sourceToDelete in sourcesToDelete) { - if (enabledSources.Contains(sourceToDelete)) enabledSources.Remove(sourceToDelete); + if (enabledSources.Contains(sourceToDelete)) + { + AnsiConsole.MarkupLine($"[yellow]Unauthenticated source '{sourceToDelete.Name}'. Skipping further requests on this source.[/]"); + enabledSources.Remove(sourceToDelete); + } } - - if (showUpToDate) AnsiConsole.MarkupLine(UpToDate); } }