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