Fix git updater
This commit is contained in:
parent
98d49af728
commit
38834ef7ac
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ async function calculateGitChanges() {
|
|||
|
||||
const branch = await git("branch", "--show-current");
|
||||
|
||||
const res = await git("log", `HEAD...origin/${branch}`, "--pretty=format:%an/%h/%s");
|
||||
const res = await git("log", `HEAD...origin/${branch.stdout.trim()}`, "--pretty=format:%an/%h/%s");
|
||||
|
||||
const commits = res.stdout.trim();
|
||||
return commits ? commits.split("\n").map(line => {
|
||||
|
|
Loading…
Reference in a new issue