JS: remove unused getOptions method

This commit is contained in:
Esben Sparre Andreasen
2018-09-03 14:13:52 +02:00
parent d578c7422d
commit 2dd8e95a51
2 changed files with 0 additions and 15 deletions

View File

@@ -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)
}
}

View File

@@ -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)
}
}
/**