Skip to content

Commit 5b432f3

Browse files
committed
add a validator to copyright holder
1 parent e159742 commit 5b432f3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

copier/questions/package_details.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ copyright_holder:
4747
type: str
4848
placeholder: Netherlands eScience Center
4949
help: Who is the copyright holder?
50-
50+
validator: >-
51+
{% if not copyright_holder %}
52+
This field cannot be empty as it will be used in content of the generated files.
53+
{% endif %}
5154
# calculated fields for GitHub
5255
repository:
5356
default: git@github.com:{{ github_organization }}/{{ package_name }}

0 commit comments

Comments
 (0)