summaryrefslogtreecommitdiff
path: root/log.go
diff options
context:
space:
mode:
authorAdam S Levy <[email protected]>2018-08-29 09:47:36 -0800
committerAdam S Levy <[email protected]>2018-08-29 09:47:45 -0800
commit8200804f123c4addbbee90b9f48698fb0608cbc7 (patch)
tree56d6e11ba6c41274f32d569a859674aea6e009d6 /log.go
parent2ef7ee53077638b8fe50193632a9cce43b14596e (diff)
refactor(log,cmd/install/fish): Small refactors to pass gometalinter.v2
Diffstat (limited to 'log.go')
-rw-r--r--log.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/log.go b/log.go
index 797a80c..c302955 100644
--- a/log.go
+++ b/log.go
@@ -1,7 +1,6 @@
package complete
import (
- "io"
"io/ioutil"
"log"
"os"
@@ -15,7 +14,7 @@ import (
var Log = getLogger()
func getLogger() func(format string, args ...interface{}) {
- var logfile io.Writer = ioutil.Discard
+ var logfile = ioutil.Discard
if os.Getenv(envDebug) != "" {
logfile = os.Stderr
}