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

Skip to content

Commit 469d7f5

Browse files
author
Alvaro Muñoz
committed
Use fluent API instead of hasPropertyWrite
1 parent 1410d28 commit 469d7f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • javascript/ql/lib/semmle/javascript/frameworks

javascript/ql/lib/semmle/javascript/frameworks/Restify.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ module Restify {
265265
/**
266266
* Gets the formatter handler installed by this setup.
267267
*/
268-
DataFlow::FunctionNode getAFormatterHandler() { formatters.hasPropertyWrite(_, result) }
268+
DataFlow::FunctionNode getAFormatterHandler() { result = formatters.getAPropertyWrite().getRhs().getALocalSource() }
269269
}
270270

271271
/**

0 commit comments

Comments
 (0)