about summary refs log tree commit homepage
path: root/lib/PublicInbox/Config.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-22 02:33:40 +0000
committerEric Wong <e@80x24.org>2022-08-23 04:18:57 +0000
commit3f949d4af046bfdce1af790a4d11b3e6430758fb (patch)
tree55396ec9a82c2637380d524187ebd99eaa4a8037 /lib/PublicInbox/Config.pm
parent74a504208be624c438cbdec955d5eacace29d626 (diff)
downloadpublic-inbox-3f949d4af046bfdce1af790a4d11b3e6430758fb.tar.gz
config: fix confusing space in ->repo_objs
It's actually valid Perl to have "$foo ->{field} = ..."
but it's confusing and I noticed it while tracking down
a configuration error.
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r--lib/PublicInbox/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index ad8b8e9d..1b5d87e2 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -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};
                 }