Created
May 6, 2014 04:53
-
-
Save breezhang/d89c98ee9c2c4ba1d104 to your computer and use it in GitHub Desktop.
issue for scrooloose/syntastic perl file syn check return abnormal 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl file syn check all error return abnormal 1 | |
patch .....\Perl\Critic\Command.pm | |
sub run { | |
use Data::Dumper::Concise; | |
my %options = _get_options(); | |
@files = _get_input(@ARGV); | |
my ($violations, $had_error_in_file) = _critique(\%options, @files); | |
+ return $EXIT_SUCCESS;+ | |
return $EXIT_HAD_FILE_PROBLEMS if $had_error_in_file; | |
return $EXIT_NO_FILES if not defined $violations; | |
return $EXIT_HAD_VIOLATIONS if $violations; | |
return $EXIT_SUCCESS; | |
} | |
just work fine ^_^ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment