Fix clippy::single_char_pattern
This commit is contained in:
@@ -70,7 +70,7 @@ impl ProjectRoot {
|
||||
})
|
||||
};
|
||||
|
||||
let hidden = dir_path.components().any(|c| c.as_str().starts_with("."));
|
||||
let hidden = dir_path.components().any(|c| c.as_str().starts_with('.'));
|
||||
|
||||
!is_ignored && !hidden
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user