Skip to content

Commit dc8d962

Browse files
committed
fix: correct variable name in domain_plural default value in copier.yml
1 parent 70c794a commit dc8d962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

copier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ domain_uppercase:
2626
domain_plural:
2727
type: str
2828
help: "Plural form of domain"
29-
default: "{% if app_name.endswith('y') %}{{ domain.replace('y', '') }}ies{% else %}{{ domain.lower() }}s{% endif %}"
29+
default: "{% if domain.endswith('y') %}{{ domain.replace('y', '') }}ies{% else %}{{ domain.lower() }}s{% endif %}"
3030

3131
domain_plural_capitalized:
3232
type: str

0 commit comments

Comments
 (0)