From 1b4eb274e1ab1927d24f46965d4c791e53eb8418 Mon Sep 17 00:00:00 2001 From: Bo Maryniuk Date: Fri, 5 Apr 2024 16:18:12 +0000 Subject: [PATCH] Allow absolute path joints --- src/rfs/rfstype.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rfs/rfstype.rs b/src/rfs/rfstype.rs index da7c8b8..38695e9 100644 --- a/src/rfs/rfstype.rs +++ b/src/rfs/rfstype.rs @@ -35,6 +35,7 @@ pub struct RfsType { } impl RfsType { + #[allow(clippy::join_absolute_paths)] /// Create an instance of the RfsType pub fn new(p: PathBuf) -> Self { RfsType { rfs_path: p.join("/etc/os-release"), rfs_os_id: "".to_string() }.parse_osrls()