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 committed Dec 4, 2023
1 parent 1f694f5 commit b6f3b28
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 b6f3b28

Please sign in to comment.