Skip to content

Commit a1a7d1c

Browse files
Merge pull request #11 from advanced-security/jeongsoolee09/fix-import-customization
Fix: Append a newline on every customization content generated
2 parents 7ddebfc + 4a28d3d commit a1a7d1c

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
@@ -459,7 +459,7 @@ def bundle_stdlib_pack(pack: ResolvedCodeQLPack):
459459
f"import {customization_pack.get_module_name()}.Customizations"
460460
)
461461
with pack_copy.get_customizations_module_path().open("w") as fd:
462-
fd.writelines(contents)
462+
fd.writelines(map(lambda content: content + "\n", contents))
463463

464464
# Remove the original target library pack
465465
logging.debug(

0 commit comments

Comments
 (0)