Fix git updater

This commit is contained in:
Nuckyz 2023-10-27 13:03:52 -03:00
parent 98d49af728
commit 38834ef7ac
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -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 => {