fix single root packing (#5154)

This commit is contained in:
Jakub Trllo 2023-06-19 11:18:55 +02:00 committed by GitHub
parent 2b9955dcc1
commit 3631cc5f40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,6 +125,7 @@ def pack_project(
if not only_documents:
roots = project_doc["config"]["roots"]
# Determine root directory of project
source_root = None
source_root_name = None
for root_name, root_value in roots.items():
if source_root is not None: