Simplify the output in AfterPrint()
- Change FinishPrint() to AfterPrint() (As suggested in #31160) - add a newline to separate it from the table - remove the "objects" and () - assume plural
This commit is contained in:
@@ -40,7 +40,7 @@ type SortingPrinter struct {
|
||||
Decoder runtime.Decoder
|
||||
}
|
||||
|
||||
func (s *SortingPrinter) FinishPrint(w io.Writer, res string) error {
|
||||
func (s *SortingPrinter) AfterPrint(w io.Writer, res string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user