We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97824d8 + 238194e commit 903022bCopy full SHA for 903022b
charon/cmd/cmd_merge.py
@@ -151,6 +151,7 @@ def _create_merged_zip(
151
for file in files:
152
file_path = os.path.join(root, file)
153
# Calculate relative path to preserve directory structure
154
- arcname = os.path.relpath(file_path, root_path)
+ merged_repos_path = os.path.join(root_path, "merged_repositories")
155
+ arcname = os.path.relpath(file_path, merged_repos_path)
156
zipf.write(file_path, arcname)
157
logger.info("Done for the merged zip generation: %s", zip_path)
0 commit comments