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.
2 parents a335dc9 + 9d7424d commit d83d69bCopy full SHA for d83d69b
src/soft/src/main.rs
@@ -97,6 +97,13 @@ fn process_toolchain(
97
serde_json::to_writer(&mut wr, &val).ok();
98
writeln!(&mut wr).ok();
99
}
100
+ if val
101
+ .pointer("/payload/data/decoded")
102
+ .map(|val| val.is_null())
103
+ .unwrap_or(false)
104
+ {
105
+ continue;
106
+ }
107
cnt += match collector.process_log_item(&val).with_context(|| {
108
format!(
109
"failed to process output item: {}",
@@ -184,6 +191,10 @@ fn main_inner() -> anyhow::Result<()> {
184
191
})
185
192
};
186
193
for file in collector {
194
+ if std::fs::canonicalize(&file).is_err() {
195
+ // ignore file if it does not exist.
196
197
187
198
if file.starts_with("/tmp") || file.starts_with("/dev") || file.starts_with("/home") {
188
199
continue;
189
200
0 commit comments