Open mikkotikkanen opened 10 years ago
Shouldn't this bug be fixed using: http://nodejs.org/api/path.html#path_path_sep
Well, it doesn't particularly matter. "\"-slashes break the regexp regardless.
I think the code shouldn't be using path
at all, it's only using it to join dropbox paths instead of local paths.
I would use a simple string join: var scopePath = scope[0] === "/" ? scope : "/" + scope;
why this is not merged?
On windows the provided path slashes are "\" instead of "/"