Describe the bug
When a syntax error is present, and there are comments in the file, the line reported in the error message as having the syntax error requires manually counting and removing the lines that are only comment lines.
To Reproduce
Steps to reproduce the behavior:
-
Go to https://app.gitstream.cm/playground
-
Use any PR url, doesn't matter
-
Add some syntax error like a: {{ ~ }} at the end of the file
-
Error message will be like
Error: 60: (unknown path) [Line 49, Column 7] unexpected token: ~ -
where the Line number is what the line number would be without comment lines
Expected behavior
The error message for a syntax error is the line in the file, not the line number after comments have been processed out.
Screenshots

Additional context
Add any other context about the problem here.
Describe the bug
When a syntax error is present, and there are comments in the file, the line reported in the error message as having the syntax error requires manually counting and removing the lines that are only comment lines.
To Reproduce
Steps to reproduce the behavior:
Go to https://app.gitstream.cm/playground
Use any PR url, doesn't matter
Add some syntax error like
a: {{ ~ }}at the end of the fileError message will be like
where the
Linenumber is what the line number would be without comment linesExpected behavior
The error message for a syntax error is the line in the file, not the line number after comments have been processed out.
Screenshots
Additional context
Add any other context about the problem here.