Skip to content

Conversation

@siong-chin
Copy link
Contributor

Also give useful output

NO_JIRA

lines = fileobj.read().decode().splitlines(True)
except UnicodeDecodeError:
return
return 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest adding a test for this case

@siong-chin siong-chin merged commit 3a10454 into main May 19, 2021
@siong-chin siong-chin deleted the fix_trailing_whitespace_removal branch May 19, 2021 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants