findup icon indicating copy to clipboard operation
findup copied to clipboard

Fix endless loop on windows with Finup.sync

Open mgreter opened this issue 8 years ago • 0 comments

Not sure if this is the correct fix, but I guess Path.join and Path.resolve should behave pretty much the same, but the later will return a normalized absolute paths and make sure excessive .. references are removed. It might be enough to use Path.normalize(Path.join(...)) inside the loop, but the documentation for these functions is a bit incomplete for my taste. They i.e. do not carify if symbolic links will be resolved or not (I guess it's just a logical path cleanup from cwd). So this should work AFAICS.

mgreter avatar Oct 26 '16 19:10 mgreter