From cd171501c9bd335e69de776c193ef00eef7e65f8 Mon Sep 17 00:00:00 2001 From: Curtis Jewell Date: Sun, 7 Jan 2024 18:27:47 -0500 Subject: [PATCH] look for cpants_lint.bat instead of .pl on Windows (https://rt.cpan.org/Ticket/Display.html?id=44599) --- lib/Module/Release/Kwalitee.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Module/Release/Kwalitee.pm b/lib/Module/Release/Kwalitee.pm index 3c943cf..a974457 100644 --- a/lib/Module/Release/Kwalitee.pm +++ b/lib/Module/Release/Kwalitee.pm @@ -66,7 +66,7 @@ sub check_kwalitee =cut -sub cpants_lint { "cpants_lint.pl" } +sub cpants_lint {$^O eq 'MSWin32' ? 'cpants_lint.bat' : 'cpants_lint.pl' } =item cpants_pass_regex