File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ pub const DSC_TRACE_LEVEL: &str = "DSC_TRACE_LEVEL";
59
59
60
60
#[ derive( Deserialize ) ]
61
61
pub struct TracingSetting {
62
- /// Trace level to use - see pub enum TraceLevel in dsc_lib\src\dscresources\command_resource.rs
62
+ /// Trace level to use - see pub enum ` TraceLevel` in dsc_lib\src\dscresources\command_resource.rs
63
63
level : TraceLevel ,
64
- /// Trace format to use - see pub enum TraceFormat in dsc\src\args.rs
64
+ /// Trace format to use - see pub enum ` TraceFormat` in dsc\src\args.rs
65
65
format : TraceFormat ,
66
- /// Whether the 'level' can be overrridden by DSC_TRACE_LEVEL environment variable
66
+ /// Whether the 'level' can be overrridden by ` DSC_TRACE_LEVEL` environment variable
67
67
#[ serde( rename = "allowOverride" ) ]
68
68
allow_override : bool
69
69
}
Original file line number Diff line number Diff line change @@ -113,7 +113,9 @@ impl CommandDiscovery {
113
113
for p in resource_path_setting. directories {
114
114
if let Ok ( v) = PathBuf :: from_str ( & p) {
115
115
paths. push ( v) ;
116
- }
116
+ } else {
117
+ trace ! ( "Can't parse path: '{p}'" ) ;
118
+ } ;
117
119
}
118
120
119
121
if resource_path_setting. append_env_path {
You can’t perform that action at this time.
0 commit comments