From 7a1a8c23b3e3cd6c8a96caeedb8dfa33cf93ae6d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 18 Jan 2025 01:26:09 +0000 Subject: [PATCH] treewide: replace redundant `;;' with `;' Wonky USB keyboard adapter or too much coffee sometimes makes me type too many semi-colons (and other characters) :x --- lib/PublicInbox/LeiSavedSearch.pm | 2 +- t/lei-daemon.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/LeiSavedSearch.pm b/lib/PublicInbox/LeiSavedSearch.pm index 0520ff980..612d1f439 100644 --- a/lib/PublicInbox/LeiSavedSearch.pm +++ b/lib/PublicInbox/LeiSavedSearch.pm @@ -91,7 +91,7 @@ sub list { $fh->flush or die "flush: $fh"; my $cfg = $lei->cfg_dump($fh->filename); my $out = $cfg ? $cfg->get_all('lei.q.output') : []; - s!$LOCAL_PFX!! for @$out;; + s!$LOCAL_PFX!! for @$out; @$out; } diff --git a/t/lei-daemon.t b/t/lei-daemon.t index d97e494a6..2422e6c54 100644 --- a/t/lei-daemon.t +++ b/t/lei-daemon.t @@ -48,7 +48,7 @@ test_lei({ daemon_only => 1 }, sub { is($pid, $pid_again, 'pid unchanged after failed reqs'); my @after = sort(glob("$d/*")); is_deeply(\@before, \@after, 'open files unchanged') or - diag explain([\@before, \@after]);; + diag explain([\@before, \@after]); } lei_ok(qw(daemon-kill)); is($lei_out, '', 'no output from daemon-kill'); -- 2.47.3