Skip to content

Commit 368afce

Browse files
committed
chore: allow provenance finding when there is an input repo path
Signed-off-by: Ben Selwyn-Smith <[email protected]>
1 parent 930b4bd commit 368afce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macaron/slsa_analyzer/analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def run_single(
324324
status=SCMStatus.ANALYSIS_FAILED,
325325
)
326326

327-
if not provenance_payload and parsed_purl and not config.get_value("path"):
327+
if not provenance_payload and parsed_purl:
328328
# Try to find the provenance file for the parsed PURL.
329329
provenance_payload = ProvenanceFinder().find_provenance(parsed_purl)
330330

0 commit comments

Comments
 (0)