Skip to content

Commit

Permalink
chore(script): fix typo in sync-react.js pull request url (#52057)
Browse files Browse the repository at this point in the history
Follow up to:

- #52052
  • Loading branch information
styfle authored Jun 30, 2023
1 parent 148fb08 commit 23890fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sync-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async function getChangelogFromGitHub(baseSha, newSha) {
const match = /\(#([0-9]+)\)$/.exec(title)
const prNum = match ? match[1] : ''
if (prNum) {
changelog.push(`- https://github.com/facebook/react/pulls/${prNum}`)
changelog.push(`- https://github.com/facebook/react/pull/${prNum}`)
} else {
changelog.push(
`- ${sha.slice(0, 9)} ${commit.message.split('\n')[0]} (${
Expand Down

0 comments on commit 23890fb

Please sign in to comment.