From 2758eb210f13589b7052ec1674c5195b8eaac499 Mon Sep 17 00:00:00 2001 From: Kirill Muratov Date: Fri, 22 Mar 2019 22:08:29 +0300 Subject: [PATCH] Fixes for unused linter --- .golangci.yml | 1 - internal/cli/log.go | 5 ----- 2 files changed, 6 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index ba9726b..a856e64 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -9,5 +9,4 @@ linters: disable: - errcheck - govet - - unused - staticcheck diff --git a/internal/cli/log.go b/internal/cli/log.go index aafaf29..930dacf 100644 --- a/internal/cli/log.go +++ b/internal/cli/log.go @@ -30,11 +30,6 @@ func (l *Log) Verbose() bool { return l.verbose } -func (l *Log) fatalf(format string, v ...interface{}) { - l.Printf(format, v...) - os.Exit(1) -} - func (l *Log) fatal(args ...interface{}) { l.Println(args...) os.Exit(1)