diff --git a/scripts/changelog.js b/scripts/changelog.js index e541ae50ce..1159eeea03 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -72,11 +72,6 @@ async function getCurrentGitBranch() { return r } -async function getCurrentGitBranch() { - const r = await execCommand('git', ['rev-parse', '--abbrev-ref', 'HEAD']) - return r -} - async function getGitDiff(from, to) { // # https://git-scm.com/docs/pretty-formats const r = await execCommand('git', ['--no-pager', 'log', `${from}...${to}`, '--pretty=%s|%h|%an|%ae'])