From 81e69bc63e039dff5a1a9c0c7b9a2d0916de8ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 10 Sep 2024 09:34:27 +0200 Subject: [PATCH] Fix --- internal/human/marshal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/human/marshal.go b/internal/human/marshal.go index ad5244c70..644175c03 100644 --- a/internal/human/marshal.go +++ b/internal/human/marshal.go @@ -421,7 +421,7 @@ func computeMaxCols(grid [][]string) int { return maxCols } colMaxSize := make([]int, len(grid[0])) - for i := range len(grid) { + for i := range grid { lineSize := 0 for j := 0; j < maxCols; j++ { size := len(grid[i][j]) + colPadding