Skip to content

Commit

Permalink
Switch version of dirname() too
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Oct 28, 2024
1 parent 811a05d commit 63cf016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/App/Aphra.pm
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ sub make_redirects {

my $to = $_->{to};

my $outdir = dirname "$target$from";
my $outdir = path("$target$from")->dirname;
path($outdir)->mkdir;

open my $out_fh, '>', "$target$from"
Expand Down

0 comments on commit 63cf016

Please sign in to comment.