From 96e8a3b00fbcc7494234261c57e8f8d9bacac2b7 Mon Sep 17 00:00:00 2001 From: aryan <85390033+theredditbandit@users.noreply.github.com> Date: Wed, 22 May 2024 14:49:22 +0530 Subject: [PATCH] fix ci suggestions --- pkg/ui/statusTable.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/ui/statusTable.go b/pkg/ui/statusTable.go index 70c14cf..0c34ee9 100644 --- a/pkg/ui/statusTable.go +++ b/pkg/ui/statusTable.go @@ -89,9 +89,9 @@ func RenderTable(data map[string]string, refreshLastEditedTime bool) error { return valI > valJ }) - cleanUp := func(table [][]string) [][]string { // cleanUp func removes the unix timestamp col from the tabledata - result := make([][]string, len(table)) - for i, inner := range table { + cleanUp := func(tbl [][]string) [][]string { // cleanUp func removes the unix timestamp col from the tabledata + result := make([][]string, len(tbl)) + for i, inner := range tbl { n := len(inner) result[i] = inner[:n-1] }