@zzclub/z-cli 0.5.2 → 0.5.3

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/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v0.5.3
5
+
6
+ [compare changes](https://github.com/aatrooox/z-cli/compare/v0.5.2...v0.5.3)
7
+
8
+ ### 🩹 Fixes
9
+
10
+ - 优化提示 ([5d8e6f6](https://github.com/aatrooox/z-cli/commit/5d8e6f6))
11
+
12
+ ### ❤️ Contributors
13
+
14
+ - Aatrox <gnakzz@qq.com>
15
+
4
16
  ## v0.5.2
5
17
 
6
18
  [compare changes](https://github.com/aatrooox/z-cli/compare/v0.5.1...v0.5.2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zzclub/z-cli",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "all-in-one 工具箱,专为提升日常及工作效率而生",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -174,7 +174,7 @@ function startTranslate(limitedWords, cb) {
174
174
  : word.value;
175
175
  if (res.error_code) {
176
176
  const spinner = ora();
177
- spinner.warn('翻译出错:' + JSON.stringify(res))
177
+ spinner.warn(`翻译[${word.value}]时出错:` + JSON.stringify(res))
178
178
  }
179
179
  word.value = translate_result;
180
180
  });