diff --git a/src/PlotGitHubAction/BuildLogAnalyzer.cs b/src/PlotGitHubAction/BuildLogAnalyzer.cs index 8a3d954..8557232 100644 --- a/src/PlotGitHubAction/BuildLogAnalyzer.cs +++ b/src/PlotGitHubAction/BuildLogAnalyzer.cs @@ -162,7 +162,7 @@ _projWarningsHs[ proj ].Add( } } // per-project table - Dictionary buildLogStats = _projWarningsHs.ToDictionary( p => p.Key.ProjectName, p => ( id: p.Key.MarkdownId, count: p.Value.Count ) ); + Dictionary buildLogStats = _projWarningsHs.ToDictionary( p => p.Key.ProjectName, p => ( projectId: p.Key.MarkdownId, warningCount: p.Value.Count ) ); summary.AppendLine(); summary.AppendLine( "Project".PadRight( 50 ) + colDiv + "Warnings" ); summary.AppendLine( String.Empty.PadRight( 50, '-' ) + colDiv + String.Empty.PadRight( 20, '-' ) ); @@ -198,7 +198,7 @@ _projWarningsHs[ proj ].Add( warnings.AppendLine(); helpUrls.AddReferencedUrls( warnings ); - _historyPlotter.AddToHistory( buildLogStats.ToDictionary( kv => kv.Key, kv => kv.Value.count ) ); + _historyPlotter.AddToHistory( buildLogStats.ToDictionary( kv => kv.Key, kv => kv.Value.warningCount ) ); System.IO.File.WriteAllText( MarkdownPath, $"{summary}\n{warnings}" ); }