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 c098423 commit ba9335dCopy full SHA for ba9335d
dsc_lib/src/discovery/command_discovery.rs
@@ -126,7 +126,7 @@ impl CommandDiscovery {
126
let mut paths: Vec<PathBuf> = vec![];
127
128
let dsc_resource_path = env::var_os("DSC_RESOURCE_PATH");
129
- if resource_path_setting.allow_env_override {
+ if resource_path_setting.allow_env_override && dsc_resource_path.is_some() {
130
if let Some(value) = dsc_resource_path {
131
debug!("DSC_RESOURCE_PATH: {:?}", value.to_string_lossy());
132
using_custom_path = true;
0 commit comments