Skip to content

Commit 956eb75

Browse files
author
王允
committed
cli 命令标题错误修复
1 parent b5dd3d8 commit 956eb75

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

openclaw.plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "openclaw-github-trending",
33
"name": "GitHub Trending",
4-
"version": "1.4.4",
4+
"version": "1.4.5",
55
"description": "Fetch GitHub trending repositories and push to Feishu or Email with AI summaries",
66
"author": "王允",
77
"license": "MIT",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openclaw-github-trending",
3-
"version": "1.4.4",
3+
"version": "1.4.5",
44
"description": "OpenClaw plugin for fetching GitHub trending repositories and pushing to Feishu or Email with AI summaries",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,12 @@ Cron 表达式格式:
293293
console.log(`📅 正在创建定时任务...`);
294294
console.log(` 热榜周期:${sinceLower === 'daily' ? '每日' : sinceLower === 'weekly' ? '每周' : '每月'}`);
295295
console.log(` 执行时间:${schedule}`);
296-
console.log(` 推送渠道:${channelList.map(c => c === 'feishu' ? '🚀 飞书' : '📧 邮箱').join(' + ')}`);
296+
console.log(` 推送渠道:${channelList.map(c => {
297+
if (c === 'feishu') return '🚀 飞书';
298+
if (c === 'email') return '📧 邮箱';
299+
if (c === 'wechat') return '💬 微信';
300+
return c;
301+
}).join(' + ')}`);
297302
console.log(``);
298303

299304
// Build tool params for cron job

0 commit comments

Comments
 (0)