Skip to content

Commit

Permalink
Merge pull request #620 from IntersectMBO/mkoura/add_missing_newlines
Browse files Browse the repository at this point in the history
Add missing newlines to `cardano-cli query utxo` output
  • Loading branch information
mkoura committed Feb 23, 2024
2 parents 7fad582 + a1673d5 commit 53c4eb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,8 +1018,7 @@ writeFilteredUTxOs sbe format mOutFile utxo =
filteredUTxOsToText :: Api.ShelleyBasedEra era -> UTxO era -> Text
filteredUTxOsToText sbe (UTxO utxo) = do
mconcat
[ title
, Text.replicate (Text.length title + 2) "-"
[ Text.unlines [title, Text.replicate (Text.length title + 2) "-"]
, Text.unlines $ case sbe of
ShelleyBasedEraShelley ->
map (utxoToText sbe) $ Map.toList utxo
Expand Down

0 comments on commit 53c4eb9

Please sign in to comment.