centresource / preseason

Centresource Rails 4+ application generator
http://preseason.centresource.com/
MIT License
12 stars 8 forks source link

Remove trailing whitespace in database.yml #56

Open maxbeizer opened 9 years ago

maxbeizer commented 9 years ago

I'm seeing trailing whitespace in the password declaration of all databases if no password is specified

maxbeizer commented 9 years ago

example

Perhaps it's better to do a perl -pie to remove trailing whitespace project-wide before the initial commit

bval commented 9 years ago

I'd prefer not to do that (thought if we did we'd use ruby -p -i -e so as not to introduce another dependency :wink:). That particular instance is easy to fix by removing the space before the ERB tag and conditionally outputting a space if the password isn't blank.

maxbeizer commented 9 years ago

obvs