chore: ensure valid config gets printed
This commit is contained in:
parent
12f3fbf173
commit
266e51453f
1 changed files with 2 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue