pty-shell 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.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -778,6 +778,7 @@ class PtyShell {
778
778
  // 不用再继续了
779
779
  this.clear_line();
780
780
  this.exec_end_call(0);
781
+ return;
781
782
  }
782
783
  this.spawn(exe, params, use_noe_pty);
783
784
  this.clear_line();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pty-shell",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "a virtual PTY shell for javaScript",
5
5
  "author": "xiaobaidadada",
6
6
  "main": "dist/index.js",