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):
207
207
for pack in [p for p in self .workspace_packs if p .kind == CodeQLPackKind .CUSTOMIZATION_PACK ]:
208
208
del pack .dependencies [0 ]
209
209
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 ))
212
212
# Add the stdlib and its dependencies to properly sort the customization packs before the other packs.
213
213
for pack , deps in std_lib_deps .items ():
214
214
pack_sorter .add (pack , * deps )
215
215
# 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 )]:
217
217
pack_sorter .add (query_pack , pack )
218
218
219
219
def bundle_customization_pack (customization_pack : ResolvedCodeQLPack ):
You can’t perform that action at this time.
0 commit comments