Unverified Commit 23890fb2 authored by Steven's avatar Steven Committed by GitHub

chore(script): fix typo in sync-react.js pull request url (#52057)

Follow up to:

- https://github.com/vercel/next.js/pull/52052
parent 148fb086
...@@ -196,7 +196,7 @@ async function getChangelogFromGitHub(baseSha, newSha) { ...@@ -196,7 +196,7 @@ async function getChangelogFromGitHub(baseSha, newSha) {
const match = /\(#([0-9]+)\)$/.exec(title) const match = /\(#([0-9]+)\)$/.exec(title)
const prNum = match ? match[1] : '' const prNum = match ? match[1] : ''
if (prNum) { if (prNum) {
changelog.push(`- https://github.com/facebook/react/pulls/${prNum}`) changelog.push(`- https://github.com/facebook/react/pull/${prNum}`)
} else { } else {
changelog.push( changelog.push(
`- ${sha.slice(0, 9)} ${commit.message.split('\n')[0]} (${ `- ${sha.slice(0, 9)} ${commit.message.split('\n')[0]} (${
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment