Skip to content

Commit 5bcea61

Browse files
committed
removed Ok usage here
1 parent f714a4f commit 5bcea61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

formatter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ func getItemAsStr(item *any, itemFormat *string) string {
566566
if ok {
567567
if len(slice) == 1 {
568568
// this is because slice in 0 item contains another slice, we should take it
569-
slice, ok = slice[0].([]any)
569+
slice, _ = slice[0].([]any)
570570
}
571571
return SliceToString(&slice, &separator)
572572
} else {

0 commit comments

Comments
 (0)