You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paths to files are always relative to the current directory, while the paths to folders are somewhat faithful to the glob input.
I think the correct form is to stay faithful to the input, but whatever the choice is the inconsistencies are a problem.
I also think it's weird that even for folders b/.. resolves to nothing while ../a stays as-is, but it kinda makes sense since for the latter you need to know the current folder is a.
The text was updated successfully, but these errors were encountered:
Reproduction:
Create the following file structure:
And run the following testcases inside the
a/
folder:The paths to files are always relative to the current directory, while the paths to folders are somewhat faithful to the glob input.
I think the correct form is to stay faithful to the input, but whatever the choice is the inconsistencies are a problem.
I also think it's weird that even for folders
b/..
resolves to nothing while../a
stays as-is, but it kinda makes sense since for the latter you need to know the current folder isa
.The text was updated successfully, but these errors were encountered: