Skip to content

Commit

Permalink
fix: fix issue with empty brackets, when no latest version is shown
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Jan 13, 2024
1 parent ee2cd5c commit b62fc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/composeHoverMarkdownContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default async function composeHoverMarkdownContent(
${packageDescription ? packageDescription : ""}
**Version**: ${packageDetails.version} (${latestPackageVersion && latestPackageVersion !== packageDetails.version ? `_**⭐️ Latest version**: ${latestPackageVersion}_` : ""})
**Version**: ${packageDetails.version} ${latestPackageVersion && latestPackageVersion !== packageDetails.version ? `(_**⭐️ Latest version**: ${latestPackageVersion}_)` : ""}
**License**: ${packageDetails.license}
Expand Down

0 comments on commit b62fc02

Please sign in to comment.