Fixed error with RemoveService
This commit is contained in:
parent
9f4077a073
commit
a8756d493a
@ -52,8 +52,9 @@ class RemoveService(CommandABC):
|
|||||||
project_json.write(json.dumps(content, indent=2))
|
project_json.write(json.dumps(content, indent=2))
|
||||||
project_json.close()
|
project_json.close()
|
||||||
|
|
||||||
@staticmethod
|
def _remove_sources(self, path: str):
|
||||||
def _remove_sources(path: str):
|
if self._is_simulation:
|
||||||
|
return
|
||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
|
|
||||||
def _create_workspace(self, path: str):
|
def _create_workspace(self, path: str):
|
||||||
|
Loading…
Reference in New Issue
Block a user