about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiXSearch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-19 12:50:24 +0000
committerEric Wong <e@80x24.org>2021-09-19 19:52:46 +0000
commit7cbdc00ece1c77d25e6654446624e6457145e955 (patch)
tree162fc39231eef192ea20cb8846fa73d9403469c0 /lib/PublicInbox/LeiXSearch.pm
parent7df294d19a7d8b2a35532375e75c8a879840dd04 (diff)
downloadpublic-inbox-7cbdc00ece1c77d25e6654446624e6457145e955.tar.gz
We're not using Data::Dumper for JSON output.
Diffstat (limited to 'lib/PublicInbox/LeiXSearch.pm')
-rw-r--r--lib/PublicInbox/LeiXSearch.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm
index 4583b067..756183a9 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -633,7 +633,7 @@ sub _lcat2smsg { # git->cat_async callback
         }
 }
 
-sub lcat_dump {
+sub lcat_dump { # via wq_io_do
         my ($self) = @_;
         my $lei = $self->{lei};
         my $each_smsg = $lei->{ovv}->ovv_each_smsg_cb($lei);
@@ -642,7 +642,6 @@ sub lcat_dump {
                 my $json_dump = $each_smsg;
                 $each_smsg = sub {
                         my ($smsg) = @_;
-                        use Data::Dumper;
                         $smsg->{-json_dump} = $json_dump;
                         $git->cat_async($smsg->{blob}, \&_lcat2smsg, $smsg);
                 };