path: add path.sep to get the path separator.

This commit is contained in:
Yi, EungJun 2012-04-03 01:31:21 +09:00 committed by Ben Noordhuis
parent 6ba3e68bd2
commit 4bd54dad33
3 changed files with 26 additions and 0 deletions

View file

@ -258,6 +258,7 @@ if (isWindows) {
return outputParts.join('\\');
};
exports.sep = '\\';
} else /* posix */ {
@ -373,6 +374,7 @@ if (isWindows) {
return outputParts.join('/');
};
exports.sep = '/';
}