mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore(operation) rm " "
This commit is contained in:
parent
f9a7ca4d19
commit
dabf142759
1 changed files with 5 additions and 5 deletions
|
|
@ -472,19 +472,19 @@
|
|||
to : dirPath
|
||||
};
|
||||
|
||||
name = name.replace(/\.tar\.gz$/, '');
|
||||
name = name.replace(/\.tar\.gz$/, '');
|
||||
|
||||
break;
|
||||
|
||||
case 'pack':
|
||||
op = packFn;
|
||||
op = packFn;
|
||||
|
||||
if (names.length > 1)
|
||||
name = Info.dir;
|
||||
name = Info.dir;
|
||||
|
||||
name += '.tar.gz';
|
||||
name += '.tar.gz';
|
||||
|
||||
fileFrom = {
|
||||
fileFrom = {
|
||||
from : dirPath,
|
||||
to : dirPath + name,
|
||||
names : names
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue