Skip to content

Commit

Permalink
(GH-455) Adjust summary for unfound sources
Browse files Browse the repository at this point in the history
Update the summary when warning about unfound sources so that only the
first sentence is shown in the package warning summary. This reduces
the amount of text seen in the summary.
  • Loading branch information
ferventcoder committed Jun 11, 2016
1 parent 7875987 commit c6b5d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chocolatey/infrastructure.app/services/NugetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ public ConcurrentDictionary<string, PackageResult> upgrade_run(ChocolateyConfigu
}
else
{
unfoundResult.Messages.Add(new ResultMessage(ResultType.Warn, logMessage));
unfoundResult.Messages.Add(new ResultMessage(ResultType.Warn, "{0} was not found with the source(s) listed.".format_with(packageName)));
unfoundResult.Messages.Add(new ResultMessage(ResultType.Inconclusive, logMessage));
if (config.RegularOutput)
{
Expand Down

0 comments on commit c6b5d47

Please sign in to comment.