From b238938d7d6387d7340f9c6a30025c9255973180 Mon Sep 17 00:00:00 2001 From: Brian Carlsen Date: Sun, 4 Feb 2024 20:48:37 +0100 Subject: [PATCH] Bug fix for macOS. --- src/macos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macos.rs b/src/macos.rs index 063f238..ace1e8c 100644 --- a/src/macos.rs +++ b/src/macos.rs @@ -162,7 +162,7 @@ fn delete_using_finder(full_paths: Vec) -> Result<(), Error> { Some(code) => { return Err(Error::Os { - code: result.status.code(), + code, description: format!("The AppleScript exited with error. stderr: {}", stderr), }) }