We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75f0056 commit 6564e67Copy full SHA for 6564e67
git/hooks/pre-commit
@@ -2,8 +2,12 @@
2
3
use strict;
4
use warnings;
5
+use Config;
6
# Hack to use carton's local::lib.
7
use lib 'local/lib/perl5';
8
+$ENV{PATH} .= $Config{path_sep}.'local/bin';
9
+$ENV{PERL5LIB} = join $Config{path_sep},
10
+ grep defined, $ENV{PERL5LIB}, 'local/lib/perl5';
11
12
use Code::TidyAll::Git::Precommit;
13
Code::TidyAll::Git::Precommit->check( no_stash => 1 );
0 commit comments