From 4bd54dad33722e93bae5a16f6b274d08944c24cc Mon Sep 17 00:00:00 2001 From: "Yi, EungJun" Date: Tue, 3 Apr 2012 01:31:21 +0900 Subject: path: add path.sep to get the path separator. --- lib/path.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/path.js') diff --git a/lib/path.js b/lib/path.js index 148b2af9a1..ad8fd8d787 100644 --- a/lib/path.js +++ b/lib/path.js @@ -258,6 +258,7 @@ if (isWindows) { return outputParts.join('\\'); }; + exports.sep = '\\'; } else /* posix */ { @@ -373,6 +374,7 @@ if (isWindows) { return outputParts.join('/'); }; + exports.sep = '/'; } -- cgit v1.2.3