refactor: rm unneeded sprintf
This commit is contained in:
parent
32b2bf245b
commit
542e9eea5c
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue