Skip to content

Commit 01fe5fb

Browse files
committed
Add type hint to satisfy the type checker
1 parent 786a6a9 commit 01fe5fb

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
@@ -149,7 +149,7 @@ def is_candidate(pack: ResolvedCodeQLPack) -> bool:
149149
customization_pack_copy_dir = Path(self.tmp_dir.name)
150150
if customization_pack.get_scope() != None:
151151
customization_pack_copy_dir = (
152-
customization_pack_copy_dir / customization_pack.get_scope()
152+
customization_pack_copy_dir / cast(str, customization_pack.get_scope())
153153
)
154154
customization_pack_copy_dir = (
155155
customization_pack_copy_dir

0 commit comments

Comments
 (0)