From 947a7871c20dc2042fb67cee2205de5f3974e4cf Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Thu, 16 Oct 2025 12:44:50 -0600 Subject: [PATCH] refactor: Fixed a linting issue for Windows builds --- src/function.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/function.rs b/src/function.rs index 5f5aaed..a2d71a3 100644 --- a/src/function.rs +++ b/src/function.rs @@ -141,6 +141,7 @@ impl Functions { .extension() .and_then(OsStr::to_str) .map(|s| s.to_lowercase()); + #[cfg_attr(not(unix), expect(dead_code))] let is_script = matches!(file_extension.as_deref(), Some("sh") | Some("py")); if file_path.exists() {