refactor: for test

This commit is contained in:
xiaojunnuo
2023-05-09 09:49:42 +08:00
parent 003ea9310b
commit f358a0f226
54 changed files with 97 additions and 112 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export class SshClient {
conn
.on("ready", () => {
this.logger.info("连接服务器成功");
conn.sftp(async (err: Error, sftp: any) => {
conn.sftp(async (err: any, sftp: any) => {
if (err) {
throw err;
}