@mindbase/deploy 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindbase/deploy",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "MindBase 部署工具",
5
5
  "type": "module",
6
6
  "bin": {
package/src/ssh/client.ts CHANGED
@@ -42,6 +42,7 @@ function buildConnectConfig(config: ServerConfig): Record<string, unknown> {
42
42
  */
43
43
  export async function connectSftp(name: string, config: ServerConfig): Promise<SftpClient> {
44
44
  const sftp = new SftpClient(name);
45
+ sftp.client.setMaxListeners(50);
45
46
  await sftp.connect(buildConnectConfig(config));
46
47
  return sftp;
47
48
  }