Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 354327976
Change-Id: I0cf3e60cceddfc7c57e1e423223476088381850f
  • Loading branch information
ISE Hardening authored and uraj committed Jan 28, 2021
1 parent 5274107 commit 3c528e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/third_party/tsetse/util/ast_tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function findInChildren(
n: ts.Node, test: (n: ts.Node) => boolean): boolean {
let toExplore: ts.Node[] = [n];
let cur: ts.Node|undefined;
while (cur = toExplore.pop()) {
while ((cur = toExplore.pop())) {
if (test(cur)) {
return true;
}
Expand Down

0 comments on commit 3c528e0

Please sign in to comment.