Skip to content

Commit

Permalink
conda_search: also 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 37ace39 commit 6ed3634
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion planemo/commands/cmd_conda_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ def cli(ctx, term, **kwds):
if conda_context.conda_version >= VERSION_4_DOT_4:
term = "*%s*" % term
args = conda_context._override_channels_args + [term]
conda_context.exec_command("search", args)
exit_code = conda_context.exec_command("search", args)
ctx.exit(exit_code)

0 comments on commit 6ed3634

Please sign in to comment.