refactor(mellow) add format

This commit is contained in:
coderaiser 2014-10-27 04:51:35 -04:00
parent fbcf17a726
commit 3f4340ecb7

View file

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