Fixed workspace loading error for update command

This commit is contained in:
Sven Heidemann 2021-04-11 13:23:02 +02:00
parent a3d5737eaf
commit d5b8286f68

View File

@ -81,7 +81,7 @@ class CommandHandler(ABC):
self._project_not_found()
return
else:
elif command.is_workspace_needed or project_name is None:
if workspace is None:
Error.error(
'The command requires to be run in an CPL workspace or project, '