Nadrieril / dhall-rust

Maintainable configuration files, for Rust users
Other
303 stars 27 forks source link

Tilde does not expand to home dir #226

Closed amkhlv closed 2 years ago

amkhlv commented 2 years ago

It seems that ~ does not expand to home directory, when doing import. Say, a dhall file has: [] : ~/myschema.dhall Calling serde_dhall::from_file of it does not find ~/myschema.dhall. It says No such file or directory (os error 2)

basile-henry commented 2 years ago

This looks like a duplicate of #223 which was fixed in #224 Have you tried to upgrade to the latest version (0.11.0)? The fix should be included in there. :smile:

amkhlv commented 2 years ago

Yes, it works fine after upgrade ! Thank you !