whichcraft icon indicating copy to clipboard operation
whichcraft copied to clipboard

This part fails on empty string

Open alkuzad opened this issue 5 years ago • 0 comments

https://github.com/cookiecutter/whichcraft/blob/6120d85fa8f90d6c805fbac6d1dda10538f8f26a/whichcraft.py#L58

split on string that usually ends with ";" will generate empty string as last item.

As every string can end with empty string, this will always return plain version, not suffixed one

alkuzad avatar May 08 '20 16:05 alkuzad