mirror of
https://github.com/ollama/ollama.git
synced 2026-04-28 03:39:48 +02:00
Lint
This commit is contained in:
@@ -670,7 +670,7 @@ func ShowHandler(cmd *cobra.Command, args []string) error {
|
||||
table.SetNoWhiteSpace(true)
|
||||
table.SetTablePadding("\t")
|
||||
table.SetAutoWrapText(false)
|
||||
for i := 0; i < len(headers); i++ {
|
||||
for i := range headers {
|
||||
if data[i] != "" {
|
||||
table.Append([]string{headers[i], data[i]})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user