From 0ea93dd60d8a44862790c8751955bdf65be0c4ce Mon Sep 17 00:00:00 2001 From: Juan Leni Date: Mon, 11 Feb 2019 08:22:54 +0100 Subject: [PATCH] Fixed linter issues --- command.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command.go b/command.go index a00367d3..58cc8732 100644 --- a/command.go +++ b/command.go @@ -217,12 +217,12 @@ func (c *Command) SetOutput(output io.Writer) { // SetOut sets the destination for usage messages. // If newOut is nil, os.Stdout is used. func (c *Command) SetOut(newOut io.Writer) { - c.outWriter = newOut + c.outWriter = newOut } // SetErr sets the destination for error messages. // If newErr is nil, os.Stderr is used. -func (c *Command) SetErr(newErr io.Writer) { +func (c *Command) SetErr(newErr io.Writer) { c.errWriter = newErr }