We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7515ee commit 04d36f3Copy full SHA for 04d36f3
server/src/cli_backend.rs
@@ -53,7 +53,7 @@ impl CliBackend {
53
}
54
55
let mut config = ConfigEntry::new();
56
- config.addons_paths = addons_paths.into_iter().map(|p| fs::canonicalize(p).unwrap_or_else(|_| PathBuf::from(S!(""))).sanitize()).collect();
+ config.addons_paths = addons_paths.into_iter().map(|p| fs::canonicalize(p).unwrap_or_else(|_| PathBuf::from(S!(""))).sanitize()).filter(|x| !x.is_empty()).collect();
57
config.odoo_path = Some(fs::canonicalize(community_path.unwrap_or(S!(""))).unwrap_or_else(|_| PathBuf::from(S!(""))).sanitize());
58
config.diag_missing_imports = DiagMissingImportsMode::All;
59
config.no_typeshed_stubs = self.cli.no_typeshed_stubs;
0 commit comments