JavaScript: Remove --platform node extractor options.

This commit is contained in:
Max Schaefer
2019-11-05 16:14:07 +00:00
parent 4848372435
commit 8fdf6298b9
5 changed files with 4 additions and 10 deletions

View File

@@ -4,5 +4,4 @@
module.exports = me;
}(module));
// semmle-extractor-options: --platform
// semmle-extractor-options: node
require("process"); // ensure this is treated as Node.js code

View File

@@ -1,4 +1,2 @@
import hipsterness from 'react';
import curry from 'lodash/function/curry';
//semmle-extractor-options: --platform node

View File

@@ -7,5 +7,3 @@ angular.module('myApp', ['ngRoute'])
.controller('FindPost', function($routeParams) {
db.get('SELECT * FROM Post WHERE id = "' + $routeParams.id + '"');
});
// semmle-extractor-options: --platform node

View File

@@ -1,5 +1,4 @@
// not a syntax error, but still NOT OK
return 42;
// semmle-extractor-options: --platform
// semmle-extractor-options: node
require("path") // ensure this is treated as Node.js code

View File

@@ -1,2 +1,2 @@
// semmle-extractor-options: --platform
// semmle-extractor-options: node
require("process")
;