fs-lock icon indicating copy to clipboard operation
fs-lock copied to clipboard

Will this library work on windows?

Open chriskea opened this issue 8 years ago • 1 comments

I see a few lines (32 and 49) that check if a path begins with '/', if it doesn't we prepend the cwd. This could be a full windows path 'C:/blah/...'.

chriskea avatar Sep 09 '16 08:09 chriskea

It was never tested on windows, it was also written before require('path').sep even existed. I don't even think Node worked very well on Windows when this was written :)

It probably should be updated to use some of the newer path methods.

davglass avatar Sep 09 '16 13:09 davglass