]> Sergey Matveev's repositories - public-inbox.git/commitdiff
config: fix confusing space in ->repo_objs
authorEric Wong <e@80x24.org>
Mon, 22 Aug 2022 02:33:40 +0000 (02:33 +0000)
committerEric Wong <e@80x24.org>
Tue, 23 Aug 2022 04:18:57 +0000 (04:18 +0000)
It's actually valid Perl to have "$foo ->{field} = ..."
but it's confusing and I noticed it while tracking down
a configuration error.

lib/PublicInbox/Config.pm

index ad8b8e9dc18cdecb87e44a6aa1fe81ed20692f03..1b5d87e298ee7d9317350d24097d87b60a407068 100644 (file)
@@ -402,7 +402,7 @@ sub repo_objs {
                        push @repo_objs, $repo if $repo;
                }
                if (scalar @repo_objs) {
-                       $ibxish ->{-repo_objs} = \@repo_objs;
+                       $ibxish->{-repo_objs} = \@repo_objs;
                } else {
                        delete $ibxish->{coderepo};
                }