|
@@ -44,6 +44,7 @@ const connectShell = async () => {
|
|
password: item.password,
|
|
password: item.password,
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
|
|
+ console.log("item.path", item.path);
|
|
printMsg({color: 'green', text: '服务器连接成功'});
|
|
printMsg({color: 'green', text: '服务器连接成功'});
|
|
printMsg({color: 'yellow', text: '执行删除文件中'});
|
|
printMsg({color: 'yellow', text: '执行删除文件中'});
|
|
return sftp.rmdir(item.path, true);
|
|
return sftp.rmdir(item.path, true);
|