Add icon to markdown summary for yanked crates

This commit is contained in:
Jonas Bushart
2022-12-22 21:51:32 +01:00
parent 44f419d83a
commit bbbc43cd45

View File

@@ -177,7 +177,7 @@ Switch to a different version of `{name}` to resolve this issue.
# This occurs when a yanked version is detected.
name = self.entry["package"]["name"]
return f"""## {self.id()} is yanked.
return f"""## {self.entry_type.icon()} {self.id()} is yanked.
Switch to a different version of `{name}` to resolve this issue.
"""