We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c19c454 commit c6d9d7fCopy full SHA for c6d9d7f
1 file changed
src/dvsim/cli.py
@@ -729,19 +729,18 @@ def main() -> None:
729
flow.deploy_objects()
730
sys.exit(0)
731
732
- # Deploy the builds and runs
733
- if args.items:
734
- # Create deploy objects.
735
- flow.create_deploy_objects()
736
- results = flow.deploy_objects()
737
-
738
- # Generate results.
739
- flow.gen_results(results)
740
741
- else:
+ if not args.items:
742
log.error("Nothing to run!")
743
sys.exit(1)
744
+ # Deploy the builds and runs
+ # Create deploy objects.
+ flow.create_deploy_objects()
+ results = flow.deploy_objects()
+
+ # Generate results.
+ flow.gen_results(results)
745
# Exit with non-zero status if there were errors or failures.
746
if flow.has_errors():
747
log.error("Errors were encountered in this run.")
0 commit comments