]> Dogcows Code - chaz/git-codeowners/commitdiff
hopefully fix pod2usage "not a glob reference" bug
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Thu, 14 Nov 2019 02:35:05 +0000 (19:35 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Thu, 14 Nov 2019 02:35:05 +0000 (19:35 -0700)
t/app-codeowners.t

index 5ec78cb8e9b37295e94b231ea38f4e862cb80b68..af426e69d0f5b43821a1842cc6e2b697dd23f1e0 100644 (file)
@@ -14,8 +14,8 @@ use Test::More;
 
 my $can_git = _can_git();
 
-# Set progname so that pod2usage knows how to find the script after we chdir
-$0 = path($Bin)->parent->child('bin/git-codeowners')->absolute;
+# Set progname so that pod2usage knows how to find the script after we chdir.
+$0 = path($Bin)->parent->child('bin/git-codeowners')->absolute->stringify;
 
 $ENV{NO_COLOR} = 1;
 
This page took 0.019012 seconds and 4 git commands to generate.