Skip to content

Commit 23890fb

Browse files
authored
chore(script): fix typo in sync-react.js pull request url (#52057)
Follow up to: - #52052
1 parent 148fb08 commit 23890fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/sync-react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async function getChangelogFromGitHub(baseSha, newSha) {
196196
const match = /\(#([0-9]+)\)$/.exec(title)
197197
const prNum = match ? match[1] : ''
198198
if (prNum) {
199-
changelog.push(`- https://github.com/facebook/react/pulls/${prNum}`)
199+
changelog.push(`- https://github.com/facebook/react/pull/${prNum}`)
200200
} else {
201201
changelog.push(
202202
`- ${sha.slice(0, 9)} ${commit.message.split('\n')[0]} (${

0 commit comments

Comments
 (0)