theSteveMitchell / after_party

Automated post-deploy tasks for Ruby/Rails. Your deployment is the party. This is the after party
MIT License
241 stars 50 forks source link

Remove whitespace to play nice with RuboCop. #45

Closed dissolved closed 5 years ago

dissolved commented 5 years ago

This is was already committed and merged, but PR #32 regressed the fix.

Currently, the auto-generated task includes 2 whitespaces for end scope comments. The default settings for the most used Ruby linter, RuboCop (https://github.com/rubocop-hq/rubocop), specifies only 1 space before comments. Who cares about these characters? Only those of us who use RuboCop.

theSteveMitchell commented 5 years ago

@dissolved thanks for fixing this again. I’m going to look into adding Rubocop to this project as well (for development). I’ll cut a new release in the next few days with this change