mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix merge typo
This commit is contained in:
parent
80f0a25e67
commit
c1435df125
@ -72,11 +72,6 @@ async function getCurrentGitBranch() {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getCurrentGitBranch() {
|
|
||||||
const r = await execCommand('git', ['rev-parse', '--abbrev-ref', 'HEAD'])
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
async function getGitDiff(from, to) {
|
async function getGitDiff(from, to) {
|
||||||
// # https://git-scm.com/docs/pretty-formats
|
// # https://git-scm.com/docs/pretty-formats
|
||||||
const r = await execCommand('git', ['--no-pager', 'log', `${from}...${to}`, '--pretty=%s|%h|%an|%ae'])
|
const r = await execCommand('git', ['--no-pager', 'log', `${from}...${to}`, '--pretty=%s|%h|%an|%ae'])
|
||||||
|
Loading…
Reference in New Issue
Block a user