]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
lei_config: import read_all properly
authorEric Wong <e@80x24.org>
Sun, 29 Oct 2023 16:08:06 +0000 (16:08 +0000)
committerEric Wong <e@80x24.org>
Sun, 29 Oct 2023 16:06:55 +0000 (16:06 +0000)
*sigh* fixing interactive editing stuff is a pain...
Found while making other changes...

Fixes: 19b791f4894efcb6 (use read_all in more places to improve safety)
lib/PublicInbox/LeiConfig.pm

index 796bb4f5ea89b5f68a00be7fd905c63f0b1319ec..b915d787bf282e440d1a7c1603e6f079e0c48e64 100644 (file)
@@ -5,6 +5,7 @@ use v5.12;
 use PublicInbox::PktOp;
 use Fcntl qw(SEEK_SET);
 use autodie qw(open seek);
+use PublicInbox::Git qw(read_all);
 
 sub cfg_do_edit ($;$) {
        my ($self, $reason) = @_;