Skip to content

Commit b8ece71

Browse files
committed
Resolve merge conflict
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 5d9ba9b commit b8ece71

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

scanpipe/pipelines/analyze_symbols_reachability.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,12 @@ def collect_and_match_resources(self):
9797

9898
def generate_advisory_reachability_report(self):
9999
"""Generate a reachability report summarizing status by advisory."""
100-
reachability.generate_advisory_reachability_report(
101-
project=self.project,
102-
patches=self.patches,
103-
candidate_resources=self.candidate_resources,
100+
self.advisories_reachability_report = (
101+
reachability.generate_advisory_reachability_report(
102+
project=self.project,
103+
patches=self.patches,
104+
candidate_resources=self.candidate_resources,
105+
)
104106
)
105107

106108
def apply_reachability_to_packages_and_dependencies(self):
@@ -110,5 +112,5 @@ def apply_reachability_to_packages_and_dependencies(self):
110112
in their affected_by_vulnerabilities JSON field.
111113
"""
112114
reachability.apply_reachability_to_packages_and_dependencies(
113-
project=self.project, advisory_report=self.advisory_map
115+
project=self.project, advisory_report=self.advisories_reachability_report
114116
)

scanpipe/pipes/reachability.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from enum import Enum
2828
from pathlib import Path
2929

30+
from git import Repo
3031
from git.diff import NULL_TREE
3132
from typecode import get_type
3233

0 commit comments

Comments
 (0)