diff --git a/pipelines/example.json b/config/example.json similarity index 100% rename from pipelines/example.json rename to config/example.json diff --git a/pipeline.go b/pipeline.go index 56ecc4d..9ff9293 100644 --- a/pipeline.go +++ b/pipeline.go @@ -142,7 +142,7 @@ func LoadPipelines() []IPipeline { path, _ := os.Getwd() - err := filepath.Walk(path+"/pipelines", func(path string, info fs.FileInfo, err error) error { + err := filepath.Walk(path+"/config", func(path string, info fs.FileInfo, err error) error { if err == nil && info.IsDir() == false { fmt.Println(path) data, _ := os.ReadFile(path)