Skip to content

Commit

Permalink
conda_install: use exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias authored and mvdbeek committed Dec 1, 2023
1 parent 6ed3634 commit 61db4bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion planemo/commands/cmd_conda_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ def cli(ctx, paths, **kwds):
conda_target, conda_context=conda_context, skip_environment=kwds.get("global", False)
)
return_codes.append(return_code)
return coalesce_return_codes(return_codes, assert_at_least_one=True)
exit_code = coalesce_return_codes(return_codes, assert_at_least_one=True)
ctx.exit(exit_code)

0 comments on commit 61db4bd

Please sign in to comment.