tekton-lint icon indicating copy to clipboard operation
tekton-lint copied to clipboard

"Cannot read properties of undefined (reading 'key')"

Open mbwhite opened this issue 11 months ago • 1 comments

When running on the latest release:

Cannot read properties of undefined (reading 'key'

mbwhite avatar Mar 18 '24 10:03 mbwhite

This occurs if the YAML file is not syntax correct; or doesn't match the schema for the tekton yaml.

eg using Name:.. instead of name:

will put in a fix that helps to not fail here.

Errors might be reported referencing "Undefined" tasks - this will mean there's a syntax error around the place specifred

mbwhite avatar Mar 18 '24 11:03 mbwhite