Skip to content

Commit

Permalink
fix yaml vs yml issue (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
timhuynh94 authored Aug 22, 2023
1 parent 0b58688 commit dc6c700
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 dc6c700

Please sign in to comment.