mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
0aa59956fa
I was combing through some of the files with worse grades on Code Climate as a guide for places where I could jump in and help, and I saw this as one of the ones in need of some love. I reduced duplication in the #user_list_export method by extracting several methods that were common to both branches of the logic in that method.