Fixed error with RemoveService

This commit is contained in:
Sven Heidemann 2022-05-25 13:19:12 +02:00
parent 9f4077a073
commit a8756d493a

View File

@ -52,8 +52,9 @@ class RemoveService(CommandABC):
project_json.write(json.dumps(content, indent=2))
project_json.close()
@staticmethod
def _remove_sources(path: str):
def _remove_sources(self, path: str):
if self._is_simulation:
return
shutil.rmtree(path)
def _create_workspace(self, path: str):