[libcode-tidyall-perl] 149/374: don't print 'no plugins apply' message unless verbose

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:26:07 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 18e34aa055c54a39967e74a1a5c636a43e37c9db
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Fri Aug 17 11:45:26 2012 -0700

    don't print 'no plugins apply' message unless verbose
---
 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 934abce..1b7012a 100644
--- a/lib/Code/TidyAll.pm
+++ b/lib/Code/TidyAll.pm
@@ -208,7 +208,7 @@ sub process_source {
     if ( !@plugins ) {
         $self->msg( "[no plugins apply%s] %s",
             $self->mode ? " for mode '" . $self->mode . "'" : "", $path )
-          unless $self->quiet;
+          if $self->verbose;
         return Code::TidyAll::Result->new( path => $path, state => 'no_match' );
     }
 

-- 
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