mirror of
https://github.com/github/codeql.git
synced 2026-04-22 07:15:15 +02:00
Added test case which is not detected by dataflow.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { superagent } from "./superagentWrapper.js";
|
||||
|
||||
function test(url) {
|
||||
superagent('GET', url); // Not flagged
|
||||
superagent.del(url); // Not flagged
|
||||
superagent.agent().post(url).send(data); // Not flagged
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
import superagent from 'superagent';
|
||||
export { superagent }
|
||||
Reference in New Issue
Block a user