Skip to content

Commit a83be8a

Browse files
authored
Merge pull request #15 from advanced-security/lcartey/fix-non-customization-library-issue
Ensure non-customization library packs can be bundled
2 parents 1fadfe6 + ba8fae0 commit a83be8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

codeql_bundle/helpers/bundle.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,11 @@ def bundle_stdlib_pack(pack: ResolvedCodeQLPack):
566566

567567
def bundle_library_pack(library_pack: ResolvedCodeQLPack):
568568
logging.info(f"Bundling the library pack {library_pack.config.name}.")
569+
570+
pack_copy = copy_pack(library_pack)
571+
569572
self.codeql.pack_bundle(
570-
library_pack,
573+
pack_copy,
571574
self.bundle_path / "qlpacks",
572575
disable_precompilation=self.disable_precompilation,
573576
)

0 commit comments

Comments
 (0)