Skip to content

Commit 6fd351f

Browse files
committed
chore: update copier.yml
1 parent 2e292bb commit 6fd351f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

copier.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,16 @@ description:
3333
author_name:
3434
type: str
3535
help: What is your name?
36+
validator: >-
37+
{% if not author_name or author_name.strip() == '' %}
38+
Author name cannot be empty
39+
{% endif %}
3640
3741
author_email:
3842
type: str
3943
placeholder: "email@example.com"
4044
help: What is your email?
45+
validator: >-
46+
{% if not author_email or author_email.strip() == '' %}
47+
Author email cannot be empty
48+
{% endif %}

0 commit comments

Comments
 (0)