2022.6.15 - set-version #81

Merged
edraft merged 19 commits from 2022.6.15 into 2022.6 2022-05-25 19:10:35 +02:00
Showing only changes of commit ed69f52927 - Show all commits

View File

@ -137,7 +137,7 @@ class GenerateService(CommandABC):
rel_path = '/'.join(parts[:-1]) rel_path = '/'.join(parts[:-1])
class_name = parts[len(parts) - 1] class_name = parts[len(parts) - 1]
if 'src' not in rel_path: if 'src' not in rel_path and not os.path.exists(os.path.join(self._env.working_directory, rel_path)):
rel_path = f'src/{rel_path}' rel_path = f'src/{rel_path}'
template = template(class_name, schematic, self._schematics[schematic]["Upper"], rel_path) template = template(class_name, schematic, self._schematics[schematic]["Upper"], rel_path)