lint: Log diagnostics with 'info', not 'warning'.

* guix/scripts/lint.scm (emit-warnings): Use 'info', not 'warning'.
This removes the unhelpful "warning:" prefix that commit
3d33c93cef introduced.
This commit is contained in:
Ludovic Courtès 2019-08-28 17:38:45 +02:00
parent 5416d9a942
commit 8f67a76a54
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 3 deletions

View File

@ -46,9 +46,9 @@
(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)))
(warning loc (G_ "~a@~a: ~a~%") (info loc (G_ "~a@~a: ~a~%")
(package-name package) (package-version package) (package-name package) (package-version package)
(lint-warning-message lint-warning)))) (lint-warning-message lint-warning))))
warnings)) warnings))
(define (run-checkers package checkers) (define (run-checkers package checkers)