properly parse relative path

This commit is contained in:
Craig Condon
2013-02-01 11:39:52 -08:00
parent cdbdbfbb0d
commit 4f9c040d74
+1 -1
View File
@@ -24,7 +24,7 @@ options('r', {
function toRelative(pt) {
return path.normalize(pt.replace(/^\./, process.cwd() + "/"));
return path.normalize(pt.replace(/^\./, process.cwd() + "/."));
}