guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/09: lint: Log diagnostics with 'info', not 'warning'.


From: guix-commits
Subject: 05/09: lint: Log diagnostics with 'info', not 'warning'.
Date: Wed, 28 Aug 2019 12:53:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8f67a76a544a9ff7b60de64d5619a63296c9553e
Author: Ludovic Courtès <address@hidden>
Date:   Wed Aug 28 17:38:45 2019 +0200

    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
    3d33c93cef67d88bdc9409959f3c1f3857af09cf introduced.
---
 guix/scripts/lint.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index ee1c826..1668d02 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -46,9 +46,9 @@
    (lambda (lint-warning)
      (let ((package (lint-warning-package lint-warning))
            (loc     (lint-warning-location lint-warning)))
-       (warning loc (G_ "~a@~a: ~a~%")
-                (package-name package) (package-version package)
-                (lint-warning-message lint-warning))))
+       (info loc (G_ "~a@~a: ~a~%")
+             (package-name package) (package-version package)
+             (lint-warning-message lint-warning))))
    warnings))
 
 (define (run-checkers package checkers)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]