@wechatsync/cli 1.0.0 → 1.0.1

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -835,12 +835,12 @@ program.command("auth [platform]").description("\u68C0\u67E5\u5E73\u53F0\u767B\u
835
835
  spinner.stop();
836
836
  console.log();
837
837
  if (result.isAuthenticated) {
838
- console.log(import_chalk.default.green(`\u2713 ${result.name} \u5DF2\u767B\u5F55`));
838
+ console.log(import_chalk.default.green(`\u2713 ${platform} \u5DF2\u767B\u5F55`));
839
839
  if (result.username) {
840
840
  console.log(` \u7528\u6237: ${import_chalk.default.cyan(result.username)}`);
841
841
  }
842
842
  } else {
843
- console.log(import_chalk.default.red(`\u2717 ${result.name} \u672A\u767B\u5F55`));
843
+ console.log(import_chalk.default.red(`\u2717 ${platform} \u672A\u767B\u5F55`));
844
844
  if (result.error) {
845
845
  console.log(` \u9519\u8BEF: ${import_chalk.default.gray(result.error)}`);
846
846
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wechatsync/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "WechatSync CLI - 命令行同步文章到多个平台",
5
5
  "main": "dist/index.js",
6
6
  "bin": {