Skip to content

Commit

Permalink
Fix counts of produced artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Nov 22, 2023
1 parent 002d0c9 commit 0506db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polycotylus/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def cli(argv=None):
self.update_artifacts_json(artifacts)
except polycotylus.PolycotylusUsageError as ex:
raise SystemExit("Error: " + str(ex))
print(f"Built {len(artifacts)} artifact{'s' if len(artifacts) != 1 else ''}:")
print(f"Built {len(set(artifacts.values()))} artifact{'s' if len(artifacts) != 1 else ''}:")
for (variant, path) in artifacts.items():
print(f"{variant}: {path}")

Expand Down

0 comments on commit 0506db6

Please sign in to comment.