Skip to content

Commit

Permalink
Merge pull request #19 from jaimergp/fix-returned-object
Browse files Browse the repository at this point in the history
fix pre-return check in info_json_from_tar_generator
  • Loading branch information
jaimergp authored Oct 18, 2023
2 parents e66197c + f044be1 commit 9c0a693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_forge_metadata/artifact_info/info_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def info_json_from_tar_generator(
data["raw_recipe"] = x
else:
data["rendered_recipe"] = YAML.load(x)
if data["name"] is not None:
if data["name"]:
return data # type: ignore


Expand Down

0 comments on commit 9c0a693

Please sign in to comment.