Improved path and name handling in new command
This commit is contained in:
parent
70ae7dd9e6
commit
b2c5d304f8
@ -132,7 +132,7 @@ class ConsoleBuilder:
|
|||||||
|
|
||||||
for template in templates:
|
for template in templates:
|
||||||
divider = ''
|
divider = ''
|
||||||
if not template.path.endswith('/'):
|
if template.path != '' and not template.path.endswith('/'):
|
||||||
divider = '/'
|
divider = '/'
|
||||||
|
|
||||||
Console.spinner(
|
Console.spinner(
|
||||||
|
@ -132,7 +132,7 @@ class LibraryBuilder:
|
|||||||
|
|
||||||
for template in templates:
|
for template in templates:
|
||||||
divider = ''
|
divider = ''
|
||||||
if not template.path.endswith('/'):
|
if template.path != '' and not template.path.endswith('/'):
|
||||||
divider = '/'
|
divider = '/'
|
||||||
|
|
||||||
Console.spinner(
|
Console.spinner(
|
||||||
|
Loading…
Reference in New Issue
Block a user