mirror of
https://github.com/actions-rust-lang/audit.git
synced 2025-12-27 01:43:48 -05:00
Add icon to markdown summary for yanked crates
This commit is contained in:
2
audit.py
2
audit.py
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user