Skip to content

Commit 2628c05

Browse files
committed
split out comment over multiple lines
1 parent c694732 commit 2628c05

File tree

1 file changed

+3
-1
lines changed
  • javascript/ql/src/semmle/javascript/dataflow/internal

1 file changed

+3
-1
lines changed

javascript/ql/src/semmle/javascript/dataflow/internal/FlowSteps.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ predicate localExceptionStep(DataFlow::Node pred, DataFlow::Node succ) {
7171
*/
7272
predicate localExceptionStepWithAsyncFlag(DataFlow::Node pred, DataFlow::Node succ, boolean async) {
7373
exists(DataFlow::Node target | target = getThrowTarget(pred) |
74-
async = false and // this also covers generators - as the behavior of exceptions is close enough to the behavior of ordinary functions when it comes to exceptions (assuming that the iterator does not cross function boundaries).
74+
// this also covers generators - as the behavior of exceptions is close enough to the behavior of ordinary
75+
// functions when it comes to exceptions (assuming that the iterator does not cross function boundaries).
76+
async = false and
7577
succ = target and
7678
not succ = any(DataFlow::FunctionNode f | f.getFunction().isAsync()).getExceptionalReturn()
7779
or

0 commit comments

Comments
 (0)