chore: ensure valid config gets printed

This commit is contained in:
andig 2024-03-10 16:31:00 +01:00
parent 12f3fbf173
commit 266e51453f

View file

@ -2,6 +2,7 @@ package cmd
import (
_ "embed"
"fmt"
"os"
"github.com/spf13/cobra"
@ -24,6 +25,6 @@ func runConfigCheck(cmd *cobra.Command, args []string) {
log.FATAL.Println("config invalid:", err)
os.Exit(1)
} else {
log.INFO.Println("config valid")
fmt.Println("config valid")
}
}