fix: resolve clippy warnings and formatting issues for CI
- Fix doc_markdown warnings in WhatsApp channel - Fix needless_pass_by_value in cron, health, migration, service modules - Fix match_same_arms in migration.rs - Fix too_many_lines in skills/mod.rs - Fix manual_let_else in tools/file_write.rs - Apply cargo fmt formatting fixes All 435 tests pass, clippy clean.
This commit is contained in:
parent
4fce8a5004
commit
153d6ff149
12 changed files with 46 additions and 54 deletions
|
|
@ -169,9 +169,9 @@ enum Commands {
|
|||
|
||||
#[derive(Subcommand, Debug)]
|
||||
enum MigrateCommands {
|
||||
/// Import memory from an OpenClaw workspace into this ZeroClaw workspace
|
||||
/// Import memory from an `OpenClaw` workspace into this `ZeroClaw` workspace
|
||||
Openclaw {
|
||||
/// Optional path to OpenClaw workspace (defaults to ~/.openclaw/workspace)
|
||||
/// Optional path to `OpenClaw` workspace (defaults to ~/.openclaw/workspace)
|
||||
#[arg(long)]
|
||||
source: Option<std::path::PathBuf>,
|
||||
|
||||
|
|
@ -387,9 +387,9 @@ async fn main() -> Result<()> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
Commands::Cron { cron_command } => cron::handle_command(cron_command, config),
|
||||
Commands::Cron { cron_command } => cron::handle_command(cron_command, &config),
|
||||
|
||||
Commands::Service { service_command } => service::handle_command(service_command, &config),
|
||||
Commands::Service { service_command } => service::handle_command(&service_command, &config),
|
||||
|
||||
Commands::Doctor => doctor::run(&config),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue