Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea4bfda

Browse files
committed
JS: Add predicate that disappeared during conflict resolution
1 parent c4006be commit ea4bfda

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

javascript/ql/src/semmle/javascript/frameworks/ClientRequests.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ module ClientRequest {
173173
override DataFlow::Node getADataNode() { result = getArgument(1) }
174174
}
175175

176+
/** Gets the string `url` or `uri`. */
177+
private string urlPropertyName() {
178+
result = "url" or result = "uri"
179+
}
180+
176181
/**
177182
* A model of a URL request made using the `axios` library.
178183
*/

0 commit comments

Comments
 (0)