(items []contract.DiagnosticItem)
| 3896 | } |
| 3897 | |
| 3898 | func taskInspectDiagnosticRows(items []contract.DiagnosticItem) [][]string { |
| 3899 | rows := make([][]string, 0, len(items)) |
| 3900 | for _, item := range items { |
| 3901 | rows = append(rows, []string{ |
| 3902 | stringOrDash(item.Code), |
| 3903 | stringOrDash(item.Severity), |
| 3904 | stringOrDash(item.Message), |
| 3905 | stringOrDash(item.SuggestedCommand), |
| 3906 | }) |
| 3907 | } |
| 3908 | return rows |
| 3909 | } |
| 3910 | |
| 3911 | func taskInspectDiagnosticToonRows(items []contract.DiagnosticItem) [][]string { |
| 3912 | rows := make([][]string, 0, len(items)) |
no test coverage detected