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 e98f65c commit 35768c4Copy full SHA for 35768c4
dsc_lib/src/discovery/command_discovery.rs
@@ -111,8 +111,8 @@ impl CommandDiscovery {
111
paths.append(&mut env::split_paths(&value).collect::<Vec<_>>());
112
} else {
113
for p in resource_path_setting.directories {
114
- let Ok(v) = PathBuf::from_str(&p) else { return Err(DscError::Operation("Can't parse '{p}'".to_string()));};
115
- paths.push(v);
+ let v = PathBuf::from_str(&p);
+ paths.push(v.unwrap_or_default());
116
}
117
118
if resource_path_setting.append_env_path {
0 commit comments