Removed outdating line
This commit is contained in:
parent
2f785536e1
commit
113b365a47
@ -109,10 +109,12 @@ class ConsoleBuilder:
|
|||||||
src_rel_path = os.path.join('src/', src_name)
|
src_rel_path = os.path.join('src/', src_name)
|
||||||
|
|
||||||
if use_application_api:
|
if use_application_api:
|
||||||
templates.append(ApplicationTemplate(src_name, src_rel_path, use_async))
|
templates.append(ApplicationTemplate(
|
||||||
|
src_name, src_rel_path, use_async))
|
||||||
|
|
||||||
if use_startup:
|
if use_startup:
|
||||||
templates.append(StartupTemplate(src_name, src_rel_path, use_async))
|
templates.append(StartupTemplate(
|
||||||
|
src_name, src_rel_path, use_async))
|
||||||
templates.append(MainWithApplicationHostAndStartupTemplate(
|
templates.append(MainWithApplicationHostAndStartupTemplate(
|
||||||
src_name, src_rel_path, use_async))
|
src_name, src_rel_path, use_async))
|
||||||
else:
|
else:
|
||||||
@ -135,7 +137,7 @@ class ConsoleBuilder:
|
|||||||
proj_name = project_name
|
proj_name = project_name
|
||||||
if src_rel_path.endswith('/'):
|
if src_rel_path.endswith('/'):
|
||||||
src_rel_path = src_rel_path[:len(src_rel_path) - 1]
|
src_rel_path = src_rel_path[:len(src_rel_path) - 1]
|
||||||
|
|
||||||
if src_rel_path != '':
|
if src_rel_path != '':
|
||||||
proj_name = f'{src_rel_path}/{project_name}'
|
proj_name = f'{src_rel_path}/{project_name}'
|
||||||
if workspace is not None:
|
if workspace is not None:
|
||||||
@ -146,7 +148,6 @@ class ConsoleBuilder:
|
|||||||
else:
|
else:
|
||||||
project_file_path = f'{project_name_snake}/{project_name}.json'
|
project_file_path = f'{project_name_snake}/{project_name}.json'
|
||||||
|
|
||||||
project_file_path = f'{project_name_snake}/{project_name}.json'
|
|
||||||
if workspace is None:
|
if workspace is None:
|
||||||
src_path = f'src/{project_name_snake}'
|
src_path = f'src/{project_name_snake}'
|
||||||
workspace_file_path = f'{proj_name}/cpl-workspace.json'
|
workspace_file_path = f'{proj_name}/cpl-workspace.json'
|
||||||
|
Loading…
Reference in New Issue
Block a user