guix: lint: Ignore unsupported source URL’s.

* guix/lint.scm (check-source): Add match case for #f.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Lars-Dominik Braun 2020-07-30 09:01:39 +02:00 committed by Mathieu Othacehe
parent c7fe7f2c24
commit 7caa3506ea
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -794,6 +794,9 @@ (define (warnings-for-uris uris)
(#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))))))))