forked from toolshed/abra
		
	refactor: rm unneeded sprintf
This commit is contained in:
		@ -2,7 +2,6 @@ package app
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"errors"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"os"
 | 
			
		||||
	"path"
 | 
			
		||||
	"strings"
 | 
			
		||||
@ -54,7 +53,7 @@ var appCheckCommand = &cli.Command{
 | 
			
		||||
 | 
			
		||||
		if len(missing) > 0 {
 | 
			
		||||
			path := appFiles[appName].Path
 | 
			
		||||
			missingEnvVars := fmt.Sprintf(strings.Join(missing, ", "))
 | 
			
		||||
			missingEnvVars := strings.Join(missing, ", ")
 | 
			
		||||
			logrus.Fatalf("%s is missing %s", path, missingEnvVars)
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user