KEMBAR78
Partition fixed/unfixed warnings by gillespiecd · Pull Request #275 · dotenv-linter/dotenv-linter · GitHub
Skip to content

Conversation

@gillespiecd
Copy link
Contributor

@gillespiecd gillespiecd commented Aug 26, 2020

  1. Small refactor to bucket the warnings vector into fixed/unfixed using a partition closure.

In my opinion, this seems clearer to read and more idiomatic than running two separate filter iterations.

✔ Checklist:

  • This PR has been added to CHANGELOG.md (at the top of the list);

mgrachev
mgrachev previously approved these changes Aug 29, 2020
Copy link
Member

@mgrachev mgrachev left a comment

Choose a reason for hiding this comment

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

@gillespiecd Thank you for your participation! 🦀

Please do everything from the checklist:

  • This PR has been added to CHANGELOG.md (at the top of the list);

@gillespiecd
Copy link
Contributor Author

Done, should have prepped that beforehand 🧹

@mgrachev mgrachev merged commit df1b0b2 into dotenv-linter:master Aug 29, 2020
@mgrachev
Copy link
Member

@gillespiecd Thank you! 👍

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.

2 participants