mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
lint: Avoid calls to 'package-field-location' with #f as the field.
* guix/lint.scm (%make-warning): Call 'package-field-location' only when FIELD is true.
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
message-text
|
||||
message-data
|
||||
(or location
|
||||
(package-field-location package field)
|
||||
(and field (package-field-location package field))
|
||||
(package-location package))))
|
||||
|
||||
(define-syntax make-warning
|
||||
|
||||
Reference in New Issue
Block a user