Skip to content
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

Fix File.expand_path when HOME ends with / #3694

Merged
merged 1 commit into from Dec 15, 2016

Conversation

RX14
Copy link
Contributor

@RX14 RX14 commented Dec 14, 2016

Oops, forgot to test this properly. At least we have specs for this and the root case now.

Sometimes the HOME environment variable will end with a /, here we normalise it
so that it never ends with a /.
@asterite
Copy link
Member

Looks good, thank you!

@asterite asterite merged commit 1442555 into crystal-lang:master Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants