mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(mellow) convertPath: add join
This commit is contained in:
parent
3de0d5e2b0
commit
982d95a0fd
1 changed files with 4 additions and 1 deletions
|
|
@ -48,7 +48,10 @@
|
|||
|
||||
if (isWin && path !== '/') {
|
||||
volume = path[1];
|
||||
path = path.split('').slice(2);
|
||||
path = path.split('')
|
||||
.slice(2)
|
||||
.join('');
|
||||
|
||||
path = volume + ':' + path;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue