Skip to content

Commit

Permalink
fix yaml vs yml issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timhuynh94 committed Aug 21, 2023
1 parent 0b58688 commit 1865d87
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action/pipeline/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1865d87

Please sign in to comment.