-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line break not inserted before first host — leads to broken lines #37
Comments
My team has been having this problem as well. Some use MAMP for certain projects and Vagrant for others, and we frequently will need to go in and manually append the new line to the hosts file. |
+1 to always have a line break, can't hurt. |
tkdb
added a commit
to tkdb/vagrant-hostsupdater
that referenced
this issue
May 8, 2014
It's good style and also agiledivider#37
Fixed in 1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MAMP Pro seems to insert its rules at the end of
/etc/hosts
without a trailing line break. vagrant-hostsupdater then adds its rules after without a prepended line break. Thus, two rules get put on one line, and the vagrant-hostsupdater line does not work. I have to manually go in and fix it from time to time.I would suggest that vagrant-hostsupdater always include a prepended line break.
The text was updated successfully, but these errors were encountered: