mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-19 09:22:05 -05:00
weather: '--coverage' filters out non-package objects.
This is a followup to d37b5a1b58
.
* guix/scripts/weather.scm (guix-weather): Filter PACKAGES passed to
'report-package-coverage'.
This commit is contained in:
parent
be764b47ad
commit
a0feabdfdb
1 changed files with 5 additions and 1 deletions
|
@ -552,7 +552,11 @@ (define coverage
|
|||
(match (assoc-ref opts 'coverage)
|
||||
(#f #f)
|
||||
(threshold
|
||||
(report-package-coverage server packages systems
|
||||
;; PACKAGES may include non-package objects coming from a
|
||||
;; manifest. Filter them out.
|
||||
(report-package-coverage server
|
||||
(filter package? packages)
|
||||
systems
|
||||
#:threshold threshold)))
|
||||
|
||||
(= 1 coverage))
|
||||
|
|
Loading…
Reference in a new issue