Skip to content

Commit 1d18f5f

Browse files
committed
Address incorrect inclusion of dependencies to dependency graph
1 parent 36a34cb commit 1d18f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeql_bundle/helpers/bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def add_to_graph(pack: ResolvedCodeQLPack, processed_packs: set[ResolvedCodeQLPa
229229
logger.debug(f"Adding stdlib dependency {std_lib_dep.config.name}@{str(std_lib_dep.config.version)} to {pack.config.name}@{str(pack.config.version)}")
230230
pack.dependencies.append(std_lib_dep)
231231
logger.debug(f"Adding pack {pack.config.name}@{str(pack.config.version)} to dependency graph")
232-
pack_sorter.add(pack, *pack.dependencies)
232+
pack_sorter.add(pack)
233233
for dep in pack.dependencies:
234234
if dep not in processed_packs:
235235
add_to_graph(dep, processed_packs, std_lib_deps)

0 commit comments

Comments
 (0)