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
it will return correct results. The relative path is: ../dir3/file
The text was updated successfully, but these errors were encountered:
aomsin2526
changed the title
Weird behavior in cwk_path_get_relative when child directory name have same name as its parents
Weird behavior in cwk_path_get_relative when child directory have same name as its parents
Sep 2, 2021
Example:
Will return
The relative path is: file
This is wrong. Expected results should be
../dir3/file
If i change base dir to something else for example from "/dir/dir/" to "/dir/dir2/"
it will return correct results.
The relative path is: ../dir3/file
The text was updated successfully, but these errors were encountered: