Skip to content

Commit

Permalink
Do not create relationships on reindex metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
  • Loading branch information
AyanSinhaMahapatra authored and JonoYang committed Jul 16, 2024
1 parent 4a23bcd commit fc4a1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minecode/visitors/maven.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def map_maven_binary_and_source(package_url, pipelines, reindex_metadata=False):
if emsg:
error += emsg

if package and source_package:
if not reindex_metadata and package and source_package:
make_relationship(
from_package=source_package,
to_package=package,
Expand Down

0 comments on commit fc4a1cc

Please sign in to comment.