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:
authorForrest L Norvell <forrest@npmjs.com>2016-11-04 05:15:36 +0300
committerForrest L Norvell <forrest@npmjs.com>2016-11-04 05:18:08 +0300
commit3e579503a399669253f17e1795b9f607c4c0e4f1 (patch)
tree01c0b1c59d5f174511cb7aa817f9c8fda93d29d8 /scripts
parent1d9159440364d2fe21e8bc15e08e284aaa118347 (diff)
scripts: don't rely on latest being checked out
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 e738f5c62..158a79cc4 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -12,7 +12,7 @@ the result to the changelog.
*/
const execSync = require('child_process').execSync
-const branch = process.argv[2] || 'latest'
+const branch = process.argv[2] || 'origin/latest'
const log = execSync(`git log --reverse --pretty='format:%h %H%d %s (%aN)%n%b%n---%n' ${branch}...`).toString().split(/\n/)
main()