mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
JS: remove unused getOptions method
This commit is contained in:
@@ -46,10 +46,6 @@ module Electron {
|
||||
NetRequest() {
|
||||
this = DataFlow::moduleMember("electron", "net").getAMemberCall("request")
|
||||
}
|
||||
|
||||
override DataFlow::Node getOptions() {
|
||||
result = this.(DataFlow::MethodCallNode).getArgument(0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -60,10 +56,6 @@ module Electron {
|
||||
NewClientRequest() {
|
||||
this = DataFlow::moduleMember("electron", "ClientRequest").getAnInstantiation()
|
||||
}
|
||||
|
||||
override DataFlow::Node getOptions() {
|
||||
result = this.(DataFlow::NewNode).getArgument(0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -506,10 +506,6 @@ module NodeJSLib {
|
||||
*/
|
||||
abstract class NodeJSClientRequest extends DataFlow::DefaultSourceNode {
|
||||
|
||||
/**
|
||||
* Gets the options object or string URL used to make the request.
|
||||
*/
|
||||
abstract DataFlow::Node getOptions();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -536,9 +532,6 @@ module NodeJSLib {
|
||||
result = url
|
||||
}
|
||||
|
||||
override DataFlow::Node getOptions() {
|
||||
result = this.(DataFlow::MethodCallNode).getArgument(0)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user