File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/reporting-lib/src/reporting_lib Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ def parse_depscan_report(self, depscan_report):
647
647
continue
648
648
649
649
if (
650
- current_location in [self .REACHABLE_FLOWS_REACHABLE_PACKAGES , self .REACHABLE_FLOWS_DATA ]
650
+ current_location in [self .REACHABLE_FLOWS_REACHABLE_PACKAGES , self .REACHABLE_FLOWS_DATA , self . REACHABLE_FLOWS_RECOMMENDATION ]
651
651
and line == ""
652
652
):
653
653
cells = [
@@ -752,7 +752,7 @@ def parse_depscan_report(self, depscan_report):
752
752
continue
753
753
754
754
if (
755
- current_location in [self .NON_REACHABLE_FLOWS_REACHABLE_PACKAGES , self .NON_REACHABLE_FLOWS_DATA ]
755
+ current_location in [self .NON_REACHABLE_FLOWS_REACHABLE_PACKAGES , self .NON_REACHABLE_FLOWS_DATA , self . NON_REACHABLE_FLOWS_RECOMMENDATION ]
756
756
and line == ""
757
757
):
758
758
cells = [
@@ -1668,6 +1668,8 @@ def generate_section_reachable_flows(
1668
1668
1669
1669
if recommendation != "" :
1670
1670
current_content = f"""{ summary } <br><br><div class="alert alert-info" role="alert">{ recommendation } </div>"""
1671
+ else :
1672
+ current_content = summary
1671
1673
1672
1674
if tree_is_from_html is False :
1673
1675
current_content = html .escape (current_content )
You can’t perform that action at this time.
0 commit comments