Skip to content

Commit

Permalink
remove unused variable in PAUSE::may_overwrite_file
Browse files Browse the repository at this point in the history
  • Loading branch information
ap committed Jan 2, 2025
1 parent 418347a commit 30ceb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PAUSE.pm
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ sub isa_regular_perl {
sub may_overwrite_file {
my ($filename) = @_;

my $is_archive = $filename =~ s/\.(gz|bz2)$//i;
$filename =~ s/\.(gz|bz2)$//i;

return 1 if $filename =~ /readme$/i;

Expand Down

0 comments on commit 30ceb5f

Please sign in to comment.