Skip to content

Commit a324ba8

Browse files
committed
Use carton's local::lib for pre-commit hook
1 parent b6fc1f5 commit a324ba8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

git/hooks/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
use strict;
44
use warnings;
5+
# Hack to use carton's local::lib.
6+
use lib 'local/lib/perl5';
57

68
use Code::TidyAll::Git::Precommit;
79
Code::TidyAll::Git::Precommit->check();

0 commit comments

Comments
 (0)