]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiOverview.pm
get rid of unnecessary bytes::length usage
[public-inbox.git] / lib / PublicInbox / LeiOverview.pm
index e4242d9be5ef05ec53029eb2bf66d2de32511f1d..223db22244eca51cf9554c76d685f4625d02e88a 100644 (file)
@@ -76,7 +76,7 @@ sub new {
        $fmt //= $devfd >= 0 ? 'json' : (detect_fmt($lei, $dst) or return);
 
        if (index($dst, '://') < 0) { # not a URL, so assume path
-                $dst = File::Spec->canonpath($dst);
+                $dst = $lei->canonpath_harder($dst);
        } # else URL
 
        my $self = bless { fmt => $fmt, dst => $dst }, $class;