[libcode-tidyall-perl] 170/374: show filenames corresponding with errors, even in quiet mode

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:26:12 UTC 2013


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit f29f5d5bde7c623ef31173aa1501f45284e3c82b
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Tue Sep 4 17:07:43 2012 -0700

    show filenames corresponding with errors, even in quiet mode
---
 lib/Code/TidyAll.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Code/TidyAll.pm b/lib/Code/TidyAll.pm
index 4e8d60c..60dcd31 100644
--- a/lib/Code/TidyAll.pm
+++ b/lib/Code/TidyAll.pm
@@ -238,7 +238,7 @@ sub process_source {
         undef $was_tidied;
     }
 
-    unless ( $self->quiet ) {
+    if ( !$self->quiet || $error ) {
         my $status = $was_tidied ? "[tidied]  " : "[checked] ";
         my $plugin_names =
           $self->verbose ? sprintf( " (%s)", join( ", ", map { $_->name } @plugins ) ) : "";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



More information about the Pkg-perl-cvs-commits mailing list