Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3a5429619c
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (25 sloc) 0.455 kb
package unicorn::errorcheck;
use strict;
use php;
use shell;
sub check_go {
my $file = shift @_;
my $rt = shift @_;
return 1;
}
sub fix_go {
my $filename = shift @_;
`gofix "$filename"`;
return 1;
}
sub check_cpp {
return 0;
}
sub fix_cpp {
my $file = shift @_;
my $rt = shift @_;
return $rt;
}
use base 'Exporter';
our @EXPORT = qw{check_php fix_php check_go fix_go check_cpp fix_cpp check_shell fix_shell};
1;
Jump to Line
Something went wrong with that request. Please try again.