From 7c7fa19661eaf4d6bc3da1675a401495d54512ee Mon Sep 17 00:00:00 2001 From: Roman Zipp Date: Sat, 15 Jan 2022 13:49:43 +0100 Subject: [PATCH] Move pipeline configs to new config directory --- {pipelines => config}/example.json | 0 pipeline.go | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {pipelines => config}/example.json (100%) 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)