Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2018-08-23 00:01:50 +0300
committerKat Marchán <kzm@zkat.tech>2018-08-23 02:12:37 +0300
commitd4242d4291222bb68f136d430a8132dcdcdf3eca (patch)
tree58339967e50d9c06b7f5b50bab4967094b6424c9 /scripts
parentbced18e52cd2f28dd7242d99569b452a7f3da11d (diff)
gen-changelog: appease standard
Diffstat (limited to 'scripts')
-rw-r--r--scripts/changelog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js
index 3cedb9efb..24f3588a5 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -18,8 +18,8 @@ const log = execSync(`git log --reverse --pretty='format:%h %H%d %s (%aN)%n%b%n-
main()
function shortname (url) {
- let matched = url.match(/https:\/\/github\.com\/([^/]+\/[^/]+)\/(?:pull|issues)\/(\d+)/)
- || url.match(/https:\/\/(npm\.community)\/t\/(\d+)/)
+ let matched = url.match(/https:\/\/github\.com\/([^/]+\/[^/]+)\/(?:pull|issues)\/(\d+)/) ||
+ url.match(/https:\/\/(npm\.community)\/t\/(\d+)/)
if (!matched) return false
let repo = matched[1]
let id = matched[2]