Skip to content

Commit

Permalink
fix: actually use the commandline --lagoon-yaml value
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Oct 26, 2021
1 parent 0a95cae commit 015a2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lagoon-linter/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ type ValidateCmd struct {

// Run the validation of the Lagoon YAML.
func (cmd *ValidateCmd) Run() error {
return lagoonyml.Lint(`.lagoon.yml`, lagoonyml.RouteAnnotation())
return lagoonyml.Lint(cmd.LagoonYAML, lagoonyml.RouteAnnotation())
}

0 comments on commit 015a2d8

Please sign in to comment.