Skip to content

Commit 06266ad

Browse files
committed
Fix spelling
1 parent d559902 commit 06266ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codeql_bundle/helpers/bundle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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):

0 commit comments

Comments
 (0)