excluded test files from excluded count
This commit is contained in:
@@ -244,8 +244,11 @@ impl ParseYaml {
|
||||
} else {
|
||||
"noisy"
|
||||
};
|
||||
let entry = self.rule_load_cnt.entry(entry_key.to_string()).or_insert(0);
|
||||
*entry += 1;
|
||||
// テスト用のルール(ID:000...0)の場合はexcluded ruleのカウントから除外するようにする
|
||||
if v != "00000000-0000-0000-0000-000000000000" {
|
||||
let entry = self.rule_load_cnt.entry(entry_key.to_string()).or_insert(0);
|
||||
*entry += 1;
|
||||
}
|
||||
if entry_key == "excluded"
|
||||
|| (entry_key == "noisy"
|
||||
&& !configs::CONFIG.read().unwrap().args.enable_noisy_rules)
|
||||
|
||||
Reference in New Issue
Block a user