From 860d91e1777671c1abc0c8b2dabe192ee46897a5 Mon Sep 17 00:00:00 2001 From: Austin Ward Date: Wed, 13 Feb 2019 14:57:14 -0500 Subject: [PATCH] Update main.go Making requested changes. --- main.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.go b/main.go index 0d81802..5b48a57 100644 --- a/main.go +++ b/main.go @@ -85,15 +85,11 @@ func main() { } var coverageFloat float64 - if *tagsFlag != "" { - - } - coverageCommand := "" if *coverageCommandFlag != "" { coverageCommand = *coverageCommandFlag if *tagsFlag != "" { - log.Println("Warning: When the covercmd is used the tags flag will be ignored.") + log.Println("Warning: When the covercmd flag is used the tags flag will be ignored.") } } else if *tagsFlag != "" { coverageCommand = "go test ./... -tags \"" + *tagsFlag + "\" -coverprofile=coverage.out && go tool cover -func=coverage.out"