mirror of
https://github.com/github/codeql.git
synced 2026-01-19 17:34:47 +01:00
Merge pull request #3001 from asger-semmle/js/autoformat
Approved by erik-krogh
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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() }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user