mirror of
https://github.com/github/codeql.git
synced 2026-01-08 20:20:34 +01:00
JavaScript: Store JSON locations in json_locations table instead of hasLocation.
This commit is contained in:
@@ -43,6 +43,7 @@ public class JSONExtractor implements IExtractor {
|
||||
throw recoverableErrors.get(0).asUserError();
|
||||
|
||||
Label fileLabel = locationManager.getFileLabel();
|
||||
locationManager.setHasLocationTable("json_locations");
|
||||
v.accept(
|
||||
new Visitor<Context, Label>() {
|
||||
private Label emit(JSONValue nd, int kind, Context c) {
|
||||
|
||||
@@ -37,7 +37,7 @@ public class Main {
|
||||
* A version identifier that should be updated every time the extractor changes in such a way that
|
||||
* it may produce different tuples for the same file under the same {@link ExtractorConfig}.
|
||||
*/
|
||||
public static final String EXTRACTOR_VERSION = "2019-04-17";
|
||||
public static final String EXTRACTOR_VERSION = "2019-07-24";
|
||||
|
||||
public static final Pattern NEWLINE = Pattern.compile("\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user