Skip to content

Commit ae2983b

Browse files
committed
chore: sourcecode analyzer now depends on source code repo heuristic
Signed-off-by: Carl Flottmann <carl.flottmann@oracle.com>
1 parent a21531c commit ae2983b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macaron/malware_analyzer/pypi_heuristics/sourcecode/pypi_sourcecode_analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self, resources_path: str | None = None) -> None:
5353
super().__init__(
5454
name="suspicious_patterns_analyzer",
5555
heuristic=Heuristics.SUSPICIOUS_PATTERNS,
56-
depends_on=[(Heuristics.EMPTY_PROJECT_LINK, HeuristicResult.FAIL)],
56+
depends_on=[(Heuristics.SOURCE_CODE_REPO, HeuristicResult.FAIL)],
5757
)
5858
if resources_path is None:
5959
resources_path = global_config.resources_path

0 commit comments

Comments
 (0)