lint: Use the 'warning' procedure for messages.
* guix/scripts/lint.scm (emit-warnings): Use 'warning' instead of 'format'.master
parent
674b9df37d
commit
3d33c93cef
|
@ -46,8 +46,7 @@
|
||||||
(lambda (lint-warning)
|
(lambda (lint-warning)
|
||||||
(let ((package (lint-warning-package lint-warning))
|
(let ((package (lint-warning-package lint-warning))
|
||||||
(loc (lint-warning-location lint-warning)))
|
(loc (lint-warning-location lint-warning)))
|
||||||
(format (guix-warning-port) "~a: ~a@~a: ~a~%"
|
(warning loc (G_ "~a@~a: ~a~%")
|
||||||
(location->string loc)
|
|
||||||
(package-name package) (package-version package)
|
(package-name package) (package-version package)
|
||||||
(lint-warning-message lint-warning))))
|
(lint-warning-message lint-warning))))
|
||||||
warnings))
|
warnings))
|
||||||
|
|
Reference in New Issue