Skip to content

Commit 69d65ae

Browse files
committed
Improve OrCa interface, update dependencies.
Produce early error when no V Specs are provided, instead of relying on the error of the service side.
1 parent 75be84e commit 69d65ae

File tree

3 files changed

+329
-210
lines changed

3 files changed

+329
-210
lines changed

audithub_client/scripts/start_orca_task.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ def start_orca_task(
127127
)
128128
)
129129

130+
if len(specs) == 0:
131+
print("ERROR: You must specify at least one V Spec to start an OrCa task")
132+
sys.exit(1)
133+
130134
hints: list[Hint] = []
131135
for hint in embedded_hints or []:
132136
hints.append(HintFromVersion(relative_path=hint))

0 commit comments

Comments
 (0)