Skip to content

Commit

Permalink
fix regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila committed Dec 9, 2023
1 parent fce3cd2 commit 2dd735f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modals/Update/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function fetchLatestReleaseInfo(): Promise<{
? {
version: tag_name.replace("v", ""),
changelog: await getMarkdownHTML(
body.match(/## What's Changed([\s\S]*?)\r\n\r/)[1],
body.match(/## What's Changed\n([\s\S]*?)\n\n##/)[1],
"spicetify",
"spicetify-marketplace",
),
Expand Down

0 comments on commit 2dd735f

Please sign in to comment.