refactor: rm unneeded sprintf

This commit is contained in:
Roxie Gibson 2021-08-31 16:47:16 +01:00
parent 32b2bf245b
commit 542e9eea5c
Signed by untrusted user: roxxers
GPG Key ID: 5D0140EDEE123F4D
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ package app
import ( import (
"errors" "errors"
"fmt"
"os" "os"
"path" "path"
"strings" "strings"
@ -54,7 +53,7 @@ var appCheckCommand = &cli.Command{
if len(missing) > 0 { if len(missing) > 0 {
path := appFiles[appName].Path path := appFiles[appName].Path
missingEnvVars := fmt.Sprintf(strings.Join(missing, ", ")) missingEnvVars := strings.Join(missing, ", ")
logrus.Fatalf("%s is missing %s", path, missingEnvVars) logrus.Fatalf("%s is missing %s", path, missingEnvVars)
} }