guix: lint: Ignore unsupported source URL’s.
authorLars-Dominik Braun <ldb@leibniz-psychology.org>
Thu, 30 Jul 2020 07:01:39 +0000 (09:01 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Sat, 1 Aug 2020 06:30:57 +0000 (08:30 +0200)
* guix/lint.scm (check-source): Add match case for #f.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
guix/lint.scm

index 8a55f3e..71ce931 100644 (file)
@@ -794,6 +794,9 @@ descriptions maintained upstream."
            (#t
             ;; We found a working URL, so stop right away.
             '())
+           (#f
+            ;; Unsupported URL or other error, skip.
+            (loop rest warnings))
            ((? lint-warning? warning)
             (loop rest (cons warning warnings))))))))