Skip to content

Conversation

@fulder
Copy link
Contributor

@fulder fulder commented Aug 22, 2020

Found by @zyyoo in issue #35 comment the if statement condition for last missing ; was flaky if there was a last extra line break missing.

  • Check if there are any close block chars } instead of comparing index with data length.
  • Add new test for config with block missing last line break

@fulder fulder mentioned this pull request Aug 22, 2020
@fulder fulder changed the title Improve if condition for required last ';' Improve if condition for required last semi colon Aug 22, 2020
@peakwinter peakwinter merged commit 65bace0 into peakwinter:master Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants