1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-25 16:56:23 +00:00

Fix git updater

This commit is contained in:
Nuckyz 2023-10-27 13:03:52 -03:00 committed by Luna
parent ff39d6b812
commit 0fa0538421

View file

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