mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Adjust locations of results in JSP files. This is necessary due to known limitations in VSCode which cause locations with zero character indices to be mapped to invalid ranges. This is hopefully a temporary workaround until this problem has been properly addressed.
This commit is contained in:
@@ -52,6 +52,6 @@ predicate hasSmapLocationInfo(
|
||||
smap(inputFile, isl, outputFile, osl) and
|
||||
smap(inputFile, iel - 1, outputFile, oel) and
|
||||
isc = 1 and
|
||||
iec = 0
|
||||
iec = 1
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user