Compare commits

..

No commits in common. "305a19730fdf2942c1418146acc0527c1441cc5b" and "b91544a0da65a3963ba6f35e5ecd78dd5d2188b5" have entirely different histories.

View File

@ -102,9 +102,6 @@ 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 name:
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)
file_path = os.path.join(self._env.working_directory, template.path, template.name) file_path = os.path.join(self._env.working_directory, template.path, template.name)