Permalink
Browse files

Add path.sep to get the path separator.

  • Loading branch information...
1 parent cc15299 commit 044c3fbacacf98b1902fe35890ab0b3945cfd293 @npcode committed Apr 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/path.js
View
@@ -258,6 +258,7 @@ if (isWindows) {
return outputParts.join('\\');
};
+ exports.sep = '\\';
} else /* posix */ {
@@ -373,6 +374,7 @@ if (isWindows) {
return outputParts.join('/');
};
+ exports.sep = '/';
}

0 comments on commit 044c3fb

Please sign in to comment.