diff --git a/cmd/validate.go b/cmd/validate.go index 412a47a..90d532f 100644 --- a/cmd/validate.go +++ b/cmd/validate.go @@ -6,6 +6,7 @@ package cmd import ( "fmt" "io/ioutil" + "log" "os" "path/filepath" "sync" @@ -27,7 +28,7 @@ If a template is found to be invalid, it is deleted from the folder.`, var wg sync.WaitGroup filepath.Walk(path, func(filePath string, info os.FileInfo, err error) error { if err != nil { - return err + log.Fatal(err) } if info.IsDir() { } else if filepath.Ext(filePath) == ".yaml" { diff --git a/cmd/version.go b/cmd/version.go index a5005f0..08cea12 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -27,7 +27,7 @@ var versionCmd = &cobra.Command{ Short: "Print cent version", Long: "Print cent version", Run: func(cmd *cobra.Command, args []string) { - fmt.Println("Cent v1.3.2") + fmt.Println("Cent v1.3.3") }, }