[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] I used npm run format for formatting the code before submitting the pull request.
[ERR - 18:12:36] Error: Illegal argument: character must be non-negative
There is a different mapping that vscode expects as positions at file.
For vscode the minimum value (i.e first row/col) is 0 while the results mapped to it is 1 from the scanners.
Fixing a bug that occurs when issues discovered at JAS scans (CA and secrets) have a location with row/col 0:
[x] I used
npm run format
for formatting the code before submitting the pull request.There is a different mapping that vscode expects as positions at file. For vscode the minimum value (i.e first row/col) is 0 while the results mapped to it is 1 from the scanners.
Fixing a bug that occurs when issues discovered at JAS scans (CA and secrets) have a location with row/col 0: