Skip to content

Commit

Permalink
Merge pull request #122 from CAST-projects/local_master
Browse files Browse the repository at this point in the history
REPORTGEN-282 : fix issue with TECHNOLOGIES=ALL
  • Loading branch information
AEteve authored Feb 12, 2018
2 parents 377b397 + 37fc9cb commit b66f7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CastReporting.Reporting/Block/Table/ViolationsListByBC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public override TableDefinition Content(ReportData reportData, Dictionary<string
string filter = options.GetOption("FILTER", "ALL");
bool critical = options.GetOption("VIOLATIONS", "CRITICAL").Equals("CRITICAL");
string module = options.GetOption("MODULE");
string[] technos = options.GetOption("TECHNOLOGIES") != null ? options.GetOption("TECHNOLOGIES").Trim().Split('|') : new[] { "$all" };
string[] technos = (options.GetOption("TECHNOLOGIES") != null && !options.GetOption("TECHNOLOGIES").Equals("ALL")) ? options.GetOption("TECHNOLOGIES").Trim().Split('|') : new[] { "$all" };

rowData.Add(Labels.ViolationStatus);
if (hasPri) rowData.Add(Labels.PRI);
Expand Down

0 comments on commit b66f7fd

Please sign in to comment.