Squash lint warning on windows (#881)

Squash warning on windows
This commit is contained in:
Félix Saparelli 2023-03-11 19:17:50 +13:00 committed by GitHub
parent c5d0b84aa6
commit ff5276f4f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,7 @@ where
let outpath = path.join(&filename);
// Get permissions
#[cfg_attr(not(unix), allow(unused_mut))]
let mut perms = None;
let is_dir = raw_filename.ends_with('/');