chore(qa): format code and configure clippy lints
This commit is contained in:
+2
-1
@@ -240,7 +240,8 @@ pub fn is_excluded(name: &str, rel_path: &str, patterns: &[String]) -> bool {
|
||||
return true;
|
||||
}
|
||||
// Wenn p_clean ein Verzeichnis ohne Wildcards ist, auch alle Unterpfade erfassen
|
||||
if !p_clean.contains('*') && !p_clean.contains('?')
|
||||
if !p_clean.contains('*')
|
||||
&& !p_clean.contains('?')
|
||||
&& (norm_rel == p_clean || norm_rel.starts_with(&format!("{}/", p_clean)))
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user