style: Cleaned up some linting issues for Windows

This commit is contained in:
2025-10-16 13:30:30 -06:00
parent 25ad254e84
commit ebe642f44a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -50,6 +50,7 @@ impl Agent {
.extension()
.and_then(OsStr::to_str)
.map(|s| s.to_lowercase());
#[cfg_attr(not(unix), expect(unused))]
let is_script = matches!(file_extension.as_deref(), Some("sh") | Some("py"));
if file_path.exists() {
+1 -1
View File
@@ -141,7 +141,7 @@ impl Functions {
.extension()
.and_then(OsStr::to_str)
.map(|s| s.to_lowercase());
#[cfg_attr(not(unix), expect(dead_code))]
#[cfg_attr(not(unix), expect(unused))]
let is_script = matches!(file_extension.as_deref(), Some("sh") | Some("py"));
if file_path.exists() {