]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
www_coderepo: drop unused File::Spec import
authorEric Wong <e@80x24.org>
Tue, 12 Nov 2024 20:34:31 +0000 (20:34 +0000)
committerEric Wong <e@80x24.org>
Fri, 15 Nov 2024 20:27:37 +0000 (20:27 +0000)
I initially thought File::Spec->abs2rel would be used in this
file, but it turns out `prurl' is a better place to call abs2rel.

lib/PublicInbox/WwwCoderepo.pm

index 413dfee53548d41173938eeccafc0845e2d776e6..8be8ada01e66a6095674c26ef2f67306e46147ba 100644 (file)
@@ -22,7 +22,6 @@ use PublicInbox::RepoTree;
 use PublicInbox::RepoList;
 use PublicInbox::OnDestroy;
 use URI::Escape qw(uri_escape_utf8);
-use File::Spec;
 use autodie qw(fcntl open);
 use PublicInbox::Git qw(git_exe);