File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -207,13 +207,13 @@ def add_packs(self, *packs: ResolvedCodeQLPack):
207207 for pack in [p for p in self .workspace_packs if p .kind == CodeQLPackKind .CUSTOMIZATION_PACK ]:
208208 del pack .dependencies [0 ]
209209
210- def is_dependend_on (pack : ResolvedCodeQLPack , other : ResolvedCodeQLPack ) -> bool :
211- return other in pack .dependencies or any (map (lambda p : is_dependend_on (p , other ), pack .dependencies ))
210+ def is_dependent_on (pack : ResolvedCodeQLPack , other : ResolvedCodeQLPack ) -> bool :
211+ return other in pack .dependencies or any (map (lambda p : is_dependent_on (p , other ), pack .dependencies ))
212212 # Add the stdlib and its dependencies to properly sort the customization packs before the other packs.
213213 for pack , deps in std_lib_deps .items ():
214214 pack_sorter .add (pack , * deps )
215215 # Add the standard query packs that rely transitively on the stdlib.
216- for query_pack in [p for p in self .bundle_packs if p .kind == CodeQLPackKind .QUERY_PACK and is_dependend_on (p , pack )]:
216+ for query_pack in [p for p in self .bundle_packs if p .kind == CodeQLPackKind .QUERY_PACK and is_dependent_on (p , pack )]:
217217 pack_sorter .add (query_pack , pack )
218218
219219 def bundle_customization_pack (customization_pack : ResolvedCodeQLPack ):
You can’t perform that action at this time.
0 commit comments