From 1865d877e39908e18fb257e94898e3c30bd5cd7a Mon Sep 17 00:00:00 2001 From: TimHuynh Date: Mon, 21 Aug 2023 14:05:23 -0500 Subject: [PATCH] fix yaml vs yml issue --- action/pipeline/exec.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action/pipeline/exec.go b/action/pipeline/exec.go index cb8170ba..a6d009ac 100644 --- a/action/pipeline/exec.go +++ b/action/pipeline/exec.go @@ -41,6 +41,11 @@ func (c *Config) Exec(client compiler.Engine) error { path = filepath.Join(c.Path, c.File) } + path, err = validateFile(path) + if err != nil { + return err + } + // check if full path to pipeline file exists _, err = os.Stat(path) if err != nil {