Skip to content

Commit

Permalink
Merge pull request #68 from xm1k3/validate-fix-err
Browse files Browse the repository at this point in the history
Validate fix err
  • Loading branch information
xm1k3 authored Dec 13, 2023
2 parents 5f78e9f + db7ed64 commit 496d067
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package cmd
import (
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
"sync"
Expand All @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
},
}

Expand Down

0 comments on commit 496d067

Please sign in to comment.