Fix CI: Move ValueError to new line
This commit is contained in:
parent
24fc95ff8a
commit
44d1708448
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ class DevopsBuild:
|
|||
self.file_api = FileApi()
|
||||
self.repo = ProjectRepository()
|
||||
if not devops:
|
||||
if not config: raise Exception("Build parameters could not be set!")
|
||||
if not config:
|
||||
raise ValueError("Build parameters could not be set!")
|
||||
devops = Devops(
|
||||
stage=config["stage"],
|
||||
project_root_path=config["project_root_path"],
|
||||
|
|
Loading…
Reference in a new issue