Closed dimidagd closed 9 months ago
Hi @dimidagd ! I think this is a good change, but can you please make some changes such that the section you changed is a bit clearer? It's a bit hard to follow. You could add some comments that exemplifies what is going on in this section.
Also, looks like there are some conflicts, can you resolve those please?
@dimidagd any update on this?
Would you like some comments on the actual code changes?
[image: photo]
@dimidagd yes, the section itself (even excluding the changes) is a bit hard to read. Can you please add a few comments that could make it a bit easier to follow?
@dimidagd yes, the section itself (even excluding the changes) is a bit hard to read. Can you please add a few comments that could make it a bit easier to follow?
Have added comments now.
@dimidagd it seems there are conflicts - can you please resolve them?
closes #1160 # A bug was preventing the use of --cwd and --folder. More specifically a function call to Path(path1).relative_to(path2) , where path1 has been stripped of the trailing directories, resulted in a specific exception being raised.
How to test fix
Given a tree structure
Running
Expected behaviour