From ad85567882b68176829b34feb4c06f6ca8ba3551 Mon Sep 17 00:00:00 2001 From: Sandesh Grangdan Date: Thu, 5 Sep 2024 01:45:17 +0545 Subject: [PATCH] Changed to original home directory --- src/antivirus.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/antivirus.rs b/src/antivirus.rs index 4be4080..ad517d0 100644 --- a/src/antivirus.rs +++ b/src/antivirus.rs @@ -147,7 +147,7 @@ impl Antivirus { pub fn scan(&mut self) { - let mut dir = &format!("{}/Downloads/cv",self.home_dir); + let mut dir = &self.home_dir; if self.args.dir != "HOME"{ dir = &self.args.dir;