fix(mcp): remove useless String conversion caught by clippy

This commit is contained in:
t8y2 committed 2026-09-24 12:34:53 +08:00
1 parent 76e41a6a4d
commit 72f1e5e5eb
1 file changed
+1 -2
+1 -2
View File
@@ -712,8 +712,7 @@ impl LocalBackend {
tools via the DBX_SECRET_KEY_FILE / DBX_SECRET_KEY environment variables. Otherwise open \
DBX Desktop or Web to complete the data security upgrade first.",
migration.error_code.as_deref().unwrap_or("KEY_PROVIDER_UNAVAILABLE")
)
.into());
));
}
return Err("DATA_MIGRATION_REQUIRED: open DBX Desktop or Web to complete the data security upgrade".into());
}