From c1435df125faf6ba45c07894202dade0923c0e7f Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Thu, 9 May 2019 11:44:55 +0430 Subject: [PATCH] fix merge typo --- scripts/changelog.js | 5 ----- 1 file changed, 5 deletions(-) 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'])