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.master
parent
a8c8f6fe91
commit
68193624d1
|
@ -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