Skip to content

Commit ad88b78

Browse files
committed
fb
1 parent 55a8bf3 commit ad88b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/generator/src/Visitors/PaginationVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ binaryExpr.Right is KeywordExpression rightKeyword &&
212212
var hasMoreNullCheck = Snippet.Not(hasMoreVariable);
213213

214214
// Return "nextToken == null || !hasMore"
215-
return new BinaryOperatorExpression("||", binaryExpr, hasMoreNullCheck);
215+
return BoolSnippets.Or(binaryExpr.As<bool>(), hasMoreNullCheck);
216216
}
217217
}
218218
return expression;

0 commit comments

Comments
 (0)