Skip to content

Commit 6a4f7c6

Browse files
committed
Address superfluous packs due to scope and codeql dir collision
1 parent 1d18f5f commit 6a4f7c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codeql_bundle/helpers/bundle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ def bundle_customization_pack(customization_pack: ResolvedCodeQLPack):
277277
def copy_pack(pack: ResolvedCodeQLPack) -> ResolvedCodeQLPack:
278278
pack_copy_dir = (
279279
Path(self.tmp_dir.name)
280+
/ "temp" # Add a temp path segment because the standard library packs have scope 'codeql' that collides with the 'codeql' directory in the bundle that is extracted to the temporary directory.
280281
/ cast(str, pack.config.get_scope())
281282
/ pack.config.get_pack_name()
282283
/ str(pack.config.version)

0 commit comments

Comments
 (0)