projects
/
perltidy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0c957
)
fix exit status for assert-tidy/untidy options
author
Ji-Hyeon Gim
<potatogim@potatogim.net>
Thu, 29 Oct 2020 04:56:08 +0000
(13:56 +0900)
committer
Ji-Hyeon Gim
<potatogim@potatogim.net>
Thu, 29 Oct 2020 04:56:08 +0000
(13:56 +0900)
Signed-off-by: Ji-Hyeon Gim <potatogim@potatogim.net>
lib/Perl/Tidy.pm
patch
|
blob
|
history
diff --git
a/lib/Perl/Tidy.pm
b/lib/Perl/Tidy.pm
index a34099142864018bb0856eb5f034c9a72993a91a..adc885943f7e435bb250967153561da4369fe6e3 100644
(file)
--- a/
lib/Perl/Tidy.pm
+++ b/
lib/Perl/Tidy.pm
@@
-1528,6
+1528,7
@@
EOM
$logger_object->interrupt_logfile();
$logger_object->warning( $diff_msg . "\n" );
$logger_object->resume_logfile();
+ $Warn_count++;
}
}
if ( $rOpts->{'assert-untidy'} ) {
@@
-1536,6
+1537,7
@@
EOM
$logger_object->warning(
"assertion failure: '--assert-untidy' is set but output equals input\n"
);
+ $Warn_count++;
}
}