Skip to content

Commit

Permalink
fix(validate): handle .yaml default file (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r authored Jan 31, 2022
1 parent 0197359 commit 54f1d05
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions action/pipeline/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ func (c *Config) ValidateLocal(client compiler.Engine) error {
}

// check if full path to pipeline file exists
_, err = os.Stat(path)
if err != nil {
return fmt.Errorf("unable to find pipeline %s: %v", path, err)
}

path, err = validateFile(path)
if err != nil {
return err
Expand Down

0 comments on commit 54f1d05

Please sign in to comment.