fix: warning text cli correctness issue (#74964) · openclaw/openclaw@e20147a
clawsweeper
·
2026-04-30
·
via Recent Commits to openclaw:main
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -569,7 +569,7 @@ describe("cron cli", () => {
|
569 | 569 | expect.stringContaining("No --agent specified"), |
570 | 570 | ); |
571 | 571 | expect(defaultRuntime.error).toHaveBeenCalledWith( |
572 | | -expect.stringContaining("default agent (main)"), |
| 572 | +expect.stringContaining("configured default agent"), |
573 | 573 | ); |
574 | 574 | }); |
575 | 575 | |
|
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -235,7 +235,7 @@ export function registerCronAddCommand(cron: Command) {
|
235 | 235 | if (payload.kind === "agentTurn" && !agentId) { |
236 | 236 | defaultRuntime.error( |
237 | 237 | theme.warn( |
238 | | -"No --agent specified; the job will run with the default agent (main). " + |
| 238 | +"No --agent specified; the job will run with the configured default agent. " + |
239 | 239 | "Specify --agent to choose a specific agent.", |
240 | 240 | ), |
241 | 241 | ); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。