@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 +12 -0
- package/package.json +1 -1
- package/src/command/translate.js +1 -1
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
package/src/command/translate.js
CHANGED
|
@@ -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(
|
|
177
|
+
spinner.warn(`翻译[${word.value}]时出错:` + JSON.stringify(res))
|
|
178
178
|
}
|
|
179
179
|
word.value = translate_result;
|
|
180
180
|
});
|