Noticed that this was wrong when working on another PR. These are not equivalent: https://go.dev/play/p/rGQz8_p5zR3. This doesn't affect deployments in AWS Lambda.
How Has This Been Tested?
Try to read a file with very large lines using any file reader app -- it should fail using the main branch but succeed with this change.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
Motivation and Context
Noticed that this was wrong when working on another PR. These are not equivalent: https://go.dev/play/p/rGQz8_p5zR3. This doesn't affect deployments in AWS Lambda.
How Has This Been Tested?
Try to read a file with very large lines using any file reader app -- it should fail using the main branch but succeed with this change.
Types of changes
Checklist: