Merge pull request #12799 from erik-krogh/oneColumn

JS: use 1-based column locations for diagnostics
This commit is contained in:
Erik Krogh Kristensen
2023-04-12 14:48:20 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
{
"location": {
"endColumn": 4,
"endColumn": 5,
"endLine": 1,
"file": "bad.js",
"startColumn": 4,
"startColumn": 5,
"startLine": 1
},
"markdownMessage": "A parse error occurred: `Unexpected token`. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.",