From 70786b33a4d339f1423f56526a03a8773fc6bc7e Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Mon, 13 Nov 2023 16:07:42 +0100 Subject: [PATCH] conda_install: use exit code --- planemo/commands/cmd_conda_install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/planemo/commands/cmd_conda_install.py b/planemo/commands/cmd_conda_install.py index 835f7c072..71801be95 100644 --- a/planemo/commands/cmd_conda_install.py +++ b/planemo/commands/cmd_conda_install.py @@ -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)