tekton-lint
tekton-lint copied to clipboard
"Cannot read properties of undefined (reading 'key')"
When running on the latest release:
Cannot read properties of undefined (reading 'key'
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