Merge pull request #3001 from asger-semmle/js/autoformat

Approved by erik-krogh
This commit is contained in:
semmle-qlci
2020-03-06 08:53:56 +00:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -907,7 +907,9 @@ private predicate reachableFromStoreBase(
reachableFromStoreBase(_, _, rhs, cfg, s1)
|
storeStep(rhs, nd, prop, cfg, s2) and
summary = MkPathSummary(false, s1.hasCall().booleanOr(s2.hasCall()), s2.getStartLabel(), s2.getEndLabel())
summary =
MkPathSummary(false, s1.hasCall().booleanOr(s2.hasCall()), s2.getStartLabel(),
s2.getEndLabel())
)
or
exists(DataFlow::Node mid, PathSummary oldSummary, PathSummary newSummary |

View File

@@ -952,9 +952,7 @@ module NodeJSLib {
* The NodeJS `process` object as an EventEmitter subclass.
*/
private class ProcessAsNodeJSEventEmitter extends NodeJSEventEmitter {
ProcessAsNodeJSEventEmitter() {
this = process()
}
ProcessAsNodeJSEventEmitter() { this = process() }
}
/**