diff --git a/src/command/build/runner.rs b/src/command/build/runner.rs index 368f57b..f184be9 100644 --- a/src/command/build/runner.rs +++ b/src/command/build/runner.rs @@ -76,7 +76,7 @@ async fn filter_to_highest_folders_containing_org_files( continue; } match entry.path().extension().and_then(OsStr::to_str) { - Some("org") => { + Some(ext) if ext.eq_ignore_ascii_case("org") => { return Ok(WalkAction::HaltAndCapture); } _ => {} diff --git a/src/command/build/walk_fs.rs b/src/command/build/walk_fs.rs index cf20661..287cbf4 100644 --- a/src/command/build/walk_fs.rs +++ b/src/command/build/walk_fs.rs @@ -46,6 +46,7 @@ pub(crate) enum WalkAction { Halt, /// Walk down this path and add it to the return list. + #[allow(dead_code)] RecurseAndCapture, /// Walk down this path but do not add it to the return list.