Skip to content
Snippets Groups Projects
Verified Commit 0c70feb0 authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Fix rather humongous bug in 'ghcup list'

parent f9a38e61
No related branches found
No related tags found
No related merge requests found
Pipeline #49115 passed with warnings
......@@ -143,7 +143,7 @@ printListResult no_color raw lr = do
)
$ lr
let cols =
foldr (\xs ys -> zipWith (:) xs ys) (replicate (length rows) []) rows
foldr (\xs ys -> zipWith (:) xs ys) (cycle [[]]) rows
lengths = fmap (maximum . fmap strWidth) cols
padded = fmap (\xs -> zipWith padTo xs lengths) rows
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment