fix(mellow) always add slash to end

This commit is contained in:
coderaiser 2014-10-31 11:47:50 -04:00
parent 7f00b601cc
commit 2a6db8c64f

View file

@ -6,7 +6,6 @@
isWin = process.platform === 'win32',
Util = require(DIR + 'util'),
format = require(DIR + 'format'),
win = require(DIR_SERVER + 'win'),
flop = require(DIR_SERVER + 'flop');
@ -53,8 +52,7 @@
.slice(2)
.join('');
path = volume + ':' + path;
path = format.addSlashToEnd(path);
path = volume + ':' + (path || '\\');
}
return path;