Fix git updater
This commit is contained in:
parent
98d49af728
commit
38834ef7ac
|
@ -51,7 +51,7 @@ async function calculateGitChanges() {
|
||||||
|
|
||||||
const branch = await git("branch", "--show-current");
|
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();
|
const commits = res.stdout.trim();
|
||||||
return commits ? commits.split("\n").map(line => {
|
return commits ? commits.split("\n").map(line => {
|
||||||
|
|
Loading…
Reference in a new issue