mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 07:16:54 +07:00
Attempt to fix strange bug in github api (https://github.com/yairm210/Unciv/actions/runs/4136712446/jobs/7151150557)
This commit is contained in:
parent
75d7494f89
commit
5c9ea8994c
@ -41,7 +41,7 @@ async function parseCommits() {
|
||||
var reachedPreviousVersion = false;
|
||||
var nextVersionString = "";
|
||||
result.data.forEach(commit => {
|
||||
if (reachedPreviousVersion) return;
|
||||
if (reachedPreviousVersion || commit.author == null) return;
|
||||
var author = commit.author.login;
|
||||
if (author === "uncivbot[bot]") return;
|
||||
var commitMessage = commit.commit.message.split("\n")[0];
|
||||
|
Loading…
Reference in New Issue
Block a user