Skip to content

Commit 55cf9d5

Browse files
committed
fix: avoid crash when updating due to variables not being found in exclusions
1 parent e423eb7 commit 55cf9d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

copier.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ _exclude:
421421
- "LICENSE"
422422
# - "README.md"
423423
- extensions
424-
- "{% if not db_use_adminer %}compose.adminer.yaml{% endif %}"
425-
- "{% if not use_orms %}compose.orms.yaml{% endif %}"
424+
- "{% if db_use_adminer is not defined or not db_use_adminer %}compose.adminer.yaml{% endif %}"
425+
- "{% if use_orms is not defined or not use_orms %}compose.orms.yaml{% endif %}"
426426
- "{% if not use_ofelia %}compose.ofelia.yaml{% endif %}"
427-
- "{% if not is_test %}scripts/cleanup_db.sh{% endif %}"
428-
- "{% if not is_test %}tests{% endif %}"
427+
- "{% if is_test is not defined or not is_test %}scripts/cleanup_db.sh{% endif %}"
428+
- "{% if is_test is not defined or not is_test %}tests{% endif %}"

0 commit comments

Comments
 (0)