-
Notifications
You must be signed in to change notification settings - Fork 10
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: error when vault's rel_dir is a parent directory #32
Conversation
…arent directory problems.
@jcformanek maybe you could take a quick look at this, to approve? Simple test is to have your vault in the parent directory ( |
Why are we type ignoring? |
@EdanToledo apologies, solved this elsewhere with #35. Need to update here :) |
…/flashbax into fix/support_parent_rel_paths
@EdanToledo fixed. Just waiting to confirm that mypy is now happy 🚀 |
@EdanToledo when you're ready: 🤾🏻♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gg
Issue raised here, with a very simple fix actually—just normalise the path before processing.
We could look at having an
abs_path
argument too, but I don't want to change the API or anything right now. This is an easy change, that simply allows the parent directory (..
) to be part of therel_dir
.