Templates are one liners, so when a failure occurs, it displays line 1 with offset which are relative to the template text. We have the line numbers in the yaml.Node parser, so we can record the positions to add actual line offsets to rectify the error message.
Templates are one liners, so when a failure occurs, it displays line 1 with offset which are relative to the template text. We have the line numbers in the yaml.Node parser, so we can record the positions to add actual line offsets to rectify the error message.