From bbceed41f942440c8f67d89b6a2da18790eac1e8 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Mon, 29 Mar 2021 19:25:12 -0400 Subject: [PATCH] fix needless_question_mark --- cli/src/invocation/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/invocation/mod.rs b/cli/src/invocation/mod.rs index 5bce1a16d..feff61c27 100644 --- a/cli/src/invocation/mod.rs +++ b/cli/src/invocation/mod.rs @@ -132,7 +132,7 @@ fn get_server(settings: &Config) -> anyhow::Result> { log::debug!("Using local sync-server at `{:?}`", server_dir); ServerConfig::Local { server_dir } }; - Ok(config.into_server()?) + config.into_server() } /// Get a WriteColor implementation based on whether the output is a tty.