]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
treewide: replace redundant `;;' with `;'
authorEric Wong <e@80x24.org>
Sat, 18 Jan 2025 01:26:09 +0000 (01:26 +0000)
committerEric Wong <e@80x24.org>
Tue, 21 Jan 2025 22:36:59 +0000 (22:36 +0000)
Wonky USB keyboard adapter or too much coffee sometimes makes me
type too many semi-colons (and other characters) :x

lib/PublicInbox/LeiSavedSearch.pm
t/lei-daemon.t

index 0520ff9809149bb46ab928a412c94344f2b622fd..612d1f439dd1146147b176f6cf4b7beb8e24f5b3 100644 (file)
@@ -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;
 }
 
index d97e494a6f1def87923bec0f22782a6c8bd2780a..2422e6c54d4851b487713b3b06b12f572a9c21e4 100644 (file)
@@ -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');