diff --git a/plugin/plugin.go b/plugin/plugin.go index f855a9c..f12c3c0 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -51,11 +51,10 @@ func New(name string) *Plugin { } // SetState sets the plugin's output code to `status` and its message to -// the specified `message`. Any extra text is cleared. +// the specified `message`. func (p *Plugin) SetState(status Status, message string) { p.status = status p.message = message - p.extraText = nil } // AddLine adds the specified string to the extra output text buffer.