node-automator 1.3.1 → 1.3.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/index.js CHANGED
@@ -11,6 +11,7 @@ require('dotenv').config({
11
11
  });
12
12
 
13
13
  // 禁用其他打印
14
+ console.yzplog = console.log;
14
15
  console.log = () => {};
15
16
  console.warn = () => {};
16
17
  console.info = () => {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-automator",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Execute automation with yaml configuration(compatible with json)",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -583,7 +583,7 @@ async function multiSelect(content, data) {
583
583
  onKeyPress(undefined, { name: "return" });
584
584
  }
585
585
  });
586
- success(`已选择:${getPrint(selectedOptions, true)}`);
586
+ !data.quiet && success(`已选择:${getPrint(selectedOptions, true)}`);
587
587
  return selectedOptions;
588
588
  }
589
589