Fixed source creation bug

This commit is contained in:
2021-05-19 08:01:02 +02:00
parent f611aa73db
commit b931ba6e17
14 changed files with 31 additions and 68 deletions

View File

@@ -67,7 +67,8 @@ class CommandHandler(ABC):
if file.endswith('.json'):
f_name = file.split('.json')[0]
if f_name == name or \
String.convert_to_camel_case(f_name) == String.convert_to_camel_case(name):
String.convert_to_camel_case(f_name).lower() == String.convert_to_camel_case(
name).lower():
project_name = f_name
break