Closed yutannihilation closed 3 years ago
Yeah, it's not pretty and not useful. The absolute path would be better here. In general, I prefer absolute paths as it helps me find things when debugging, but I'm Ok with the relative path within a package.
There is a fix to this (I think) in #76: it outputs absolute path if package root cannot be found.
What you observe is the current behavior in main
: fs::path_rel
creates a relative path to "."
, hence this mess.
Using #76:
@Ilia-Kosenkov If you consider this issue addressed with #76, please go ahead and close.
@clauswilke, I believe so. Let us close it for now.
Thanks for fixing!
I found it's not very pretty when it's outside of the current package directory.