Skip to content

Commit

Permalink
making the check for missing anaconda executable a little broader
Browse files Browse the repository at this point in the history
  • Loading branch information
travishathaway committed Nov 1, 2023
1 parent e2916a2 commit f9dac02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4099,7 +4099,7 @@ def handle_anaconda_upload(paths, config):
print(no_upload_message)
return

if anaconda is None:
if not anaconda:
print(no_upload_message)
sys.exit(
"Error: cannot locate anaconda command (required for upload)\n"
Expand Down

0 comments on commit f9dac02

Please sign in to comment.