Skip to content

Commit d4242d4

Browse files
iarnazkat
authored andcommitted
gen-changelog: appease standard
1 parent bced18e commit d4242d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/changelog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const log = execSync(`git log --reverse --pretty='format:%h %H%d %s (%aN)%n%b%n-
1818
main()
1919

2020
function shortname (url) {
21-
let matched = url.match(/https:\/\/github\.com\/([^/]+\/[^/]+)\/(?:pull|issues)\/(\d+)/)
22-
|| url.match(/https:\/\/(npm\.community)\/t\/(\d+)/)
21+
let matched = url.match(/https:\/\/github\.com\/([^/]+\/[^/]+)\/(?:pull|issues)\/(\d+)/) ||
22+
url.match(/https:\/\/(npm\.community)\/t\/(\d+)/)
2323
if (!matched) return false
2424
let repo = matched[1]
2525
let id = matched[2]

0 commit comments

Comments
 (0)