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-22 22:56:47 +0300
committerKat Marchán <kzm@zkat.tech>2018-08-23 02:12:37 +0300
commit54b4bc8201c039ff690498effe725027102f67f9 (patch)
tree8b64a2c999b60154b3b6dfb532234cca6535c3fe /scripts
parentf5eed2e60a994c49f46d3fcb8abe0ccc9eefa21c (diff)
gen-changelog: git update incresed length of "short" hashes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/changelog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js
index 4f821dbf6..649383718 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -75,7 +75,7 @@ function main () {
/* eslint no-cond-assign:0 */
if (/^---$/.test(line)) {
printCommit(commit)
- } else if (m = line.match(/^([a-f0-9]{7,9}) ([a-f0-9]+) (?:[(]([^)]+)[)] )?(.*?) [(](.*?)[)]/)) {
+ } else if (m = line.match(/^([a-f0-9]{7,10}) ([a-f0-9]+) (?:[(]([^)]+)[)] )?(.*?) [(](.*?)[)]/)) {
commit = {
shortid: m[1],
fullid: m[2],