Skip to content

Commit c747dcb

Browse files
committed
refactor: remove unnecessary function call
1 parent 039ddf7 commit c747dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fs_tree_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ where
8787
Ok(stats) => stats,
8888
};
8989

90-
let children: Vec<_> = if stats.file_type().is_dir() {
90+
let children: Vec<_> = if stats.is_dir() {
9191
match read_dir(path) {
9292
Err(error) => {
9393
reporter.report(Event::EncounterError(ErrorReport {

0 commit comments

Comments
 (0)