From 4c4793530662dd5e917286f055e5ee356bc7113b Mon Sep 17 00:00:00 2001 From: GyulyVGC Date: Thu, 2 Jan 2025 12:01:47 +0100 Subject: [PATCH] fix clippy for Windows release build --- src/utils/formatted_strings.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/formatted_strings.rs b/src/utils/formatted_strings.rs index 3af31d96..dde3c686 100644 --- a/src/utils/formatted_strings.rs +++ b/src/utils/formatted_strings.rs @@ -177,7 +177,6 @@ pub fn get_logs_file_path() -> Option { pub fn redirect_stdout_stderr_to_file( ) -> Option<(gag::Redirect, gag::Redirect)> { if let Ok(logs_file) = std::fs::OpenOptions::new() - .write(true) .create(true) .append(true) .open(get_logs_file_path()?)