This commit is contained in:
James
2021-09-13 23:26:15 +09:00
committed by GitHub
parent a469e6e60b
commit 403844ae45
25 changed files with 6 additions and 26 deletions
+3 -2
View File
@@ -43,9 +43,10 @@ impl ParseYaml {
Ok(docs) => {
for i in docs {
// If there is no "enabled" it does not load
if i["enabled"].as_bool().unwrap_or(false) {
&self.files.push(i);
if i["ignore"].as_bool().unwrap_or(false) {
continue;
}
&self.files.push(i);
}
}
Err(e) => {