Skip to content

Commit

Permalink
Merge pull request #388 from LukePrior/LukePrior-patch-1
Browse files Browse the repository at this point in the history
Blacklist commits where files were removed
  • Loading branch information
LukePrior authored Aug 29, 2024
2 parents 6b095ce + c1413e9 commit 96b0314
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@ function loadSuburb(state_file, commit, first_load=false) {
if (commit_date_js >= new Date(2023, 9, 22) && commit_date_js <= new Date(2023, 10, 4)) {
continue;
}
// Commits where files were deleted or otherwise corrupted
if (["7473d03"].includes(commit.sha)) {
continue;
}
selected_text = (commit.sha == default_commit) ? "selected" : ""
dropdownHTML += '<option value=' + commit.sha + ' ' + selected_text + '>' + new Date(commit_date).toLocaleDateString("en-AU") + '</option>';
}
Expand Down

0 comments on commit 96b0314

Please sign in to comment.