Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file.read() and file.line() return unexpected results #33

Closed
Flipez opened this issue Jan 14, 2022 · 1 comment
Closed

file.read() and file.line() return unexpected results #33

Flipez opened this issue Jan 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Flipez
Copy link
Owner

Flipez commented Jan 14, 2022

file.lines() does not return the last line if there is no \n . Also it should strip automaticalle.

file.read()'s description indicates that it does return the file as a string, but it reads in chunks line by line, this should also be changed.

@Flipez Flipez added the bug Something isn't working label Jan 14, 2022
@Flipez Flipez changed the title file.read() and file.line() return unexpted results file.read() and file.line() return unexpected results Jan 14, 2022
@Flipez
Copy link
Owner Author

Flipez commented Jan 14, 2022

Fixed by #34

@Flipez Flipez closed this as completed Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant