Skip to content

Commit

Permalink
chore: role_name_ is always a string
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasPammer committed Sep 21, 2023
1 parent ab455ba commit 6219b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/pre_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@


role_name_ = "{{ cookiecutter.role_name_ | default(None) }}"
if role_name_ is not None:
print("NOTE: role_name_ can be removed from your .cruft.json file (See https://github.com/JonasPammer/cookiecutter-ansible-role/pull/40)".format(role_name_))
if role_name_ != "":
print("NOTE: role_name_ can be removed from your .cruft.json file (See https://github.com/JonasPammer/cookiecutter-ansible-role/pull/40)".format(role_name_))

0 comments on commit 6219b18

Please sign in to comment.