Skip to content

Commit

Permalink
cleanup: remove debug statements (#1692)
Browse files Browse the repository at this point in the history
  • Loading branch information
leahecole authored Jan 17, 2025
1 parent 591c200 commit c7e0696
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gax/src/paginationCalls/pagedApiCaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,13 @@ export class PagedApiCaller implements APICaller {
ongoingCall.call(apiCall, request);
return;
}
console.log('155', request, settings);
if (request.pageSize && settings.autoPaginate) {
warn(
'autoPaginate true',
'Providing a pageSize without setting autoPaginate to false will still return all results. See https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#auto-pagination for more information on how to configure manual paging',
'AutopaginateTrueWarning'
);
}
console.log(request.pageSize && settings.autoPaginate);

const maxResults = settings.maxResults || -1;

Expand Down

0 comments on commit c7e0696

Please sign in to comment.