(w io.Writer, notes []string)
| 48 | } |
| 49 | |
| 50 | func printNotes(w io.Writer, notes []string) { |
| 51 | if len(notes) == 0 { |
| 52 | return |
| 53 | } |
| 54 | fmt.Fprintln(w, "--- schema checks") |
| 55 | for _, n := range notes { |
| 56 | fmt.Fprintln(w, n) |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | func printResult(w io.Writer, command string, res runResult) { |
| 61 | if res.config != nil { |