We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bced18e commit d4242d4Copy full SHA for d4242d4
scripts/changelog.js
@@ -18,8 +18,8 @@ const log = execSync(`git log --reverse --pretty='format:%h %H%d %s (%aN)%n%b%n-
18
main()
19
20
function shortname (url) {
21
- let matched = url.match(/https:\/\/github\.com\/([^/]+\/[^/]+)\/(?:pull|issues)\/(\d+)/)
22
- || url.match(/https:\/\/(npm\.community)\/t\/(\d+)/)
+ let matched = url.match(/https:\/\/github\.com\/([^/]+\/[^/]+)\/(?:pull|issues)\/(\d+)/) ||
+ url.match(/https:\/\/(npm\.community)\/t\/(\d+)/)
23
if (!matched) return false
24
let repo = matched[1]
25
let id = matched[2]
0 commit comments