Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

Commit c41908e

Browse files
committed
fix(cli): fix typo in folder
1 parent 06db8e1 commit c41908e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

routines/validation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ import (
99
jsonschema "github.com/saitho/jsonschema-validator/validator"
1010
)
1111

12-
func Validate(filePath string, schemaFile string) {
12+
func Validate(filePath string, schemaFile string) {
1313
var collectionDir, err = ansible.GetStackHeadCollectionLocation()
1414
collectionAbsDir, err := filepath.Abs(collectionDir)
1515
if err != nil {
1616
panic(err)
1717
return
1818
}
1919

20-
schemaPath := filepath.Join(collectionAbsDir, "schema", schemaFile)
20+
schemaPath := filepath.Join(collectionAbsDir, "schemas", schemaFile)
2121
if err != nil {
2222
_, err = fmt.Fprintf(os.Stderr, "%s\n", err.Error())
2323
if err != nil {

0 commit comments

Comments
 (0)