From 195548f7ebbaccfed84fff8e9558745f59f156ec Mon Sep 17 00:00:00 2001 From: Frank Duncan Date: Sat, 18 Dec 2021 14:19:40 -0600 Subject: [PATCH] Fix bug where inactive branches were counted as failures --- src/main/server.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/server.lisp b/src/main/server.lisp index 7d7af0b..338516b 100644 --- a/src/main/server.lisp +++ b/src/main/server.lisp @@ -161,5 +161,5 @@ ((project (find-project-by-name-or-die project-name))) (length (remove-if-not - (lambda (branch) (eql :failed (job-status (branch-job branch)))) + (lambda (branch) (and (branch-in-git branch) (eql :failed (job-status (branch-job branch))))) (if project (find-branch-by-project project) *all-branch*))))) -- 2.25.1