-
Notifications
You must be signed in to change notification settings - Fork 42
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
expand ~
when opening files
#137
Comments
This is true in most (all?) julia functions that take strings as paths. While I agree this is inconvenient, and it frequently bites me, I'd be reluctant to change something that's so common across the language in just this package. |
One thing that might be worth an issue or PR (though I think it would go into julia itself) would be to improve the error message to mention the use or |
Thanks. It seems like this is on the way to being addressed (at least through more helpful error messages) in newer versions of Julia. Looking through past issues in the Julia repo, there seems to be some justification for not "fixing" this. |
Great! Thanks for engaging and being part of the solution! |
Would you be open to modifying
YAML.jl/src/YAML.jl
Lines 94 to 102 in 844ad27
to allow for
data = YAML.load_file("~/test.yml")
to "just work"?I think it would simply be:
Current behavior:
The text was updated successfully, but these errors were encountered: