Skip to content

Commit

Permalink
locli: avoid CI failure by not parsing empty input
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeier authored and jasagredo committed Nov 21, 2023
1 parent 80d727b commit dd7eae9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bench/locli/src/Cardano/Unlog/LogObject.hs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ readLogObjectStream f okDErr loAnyLimit =
. Text.fromText
. LText.pack)
id)
. filter (not . LBS.null)
. LBS.split (fromIntegral $ fromEnum '\n')
where
isDecodeError x = \case
Expand Down

0 comments on commit dd7eae9

Please sign in to comment.