From 914712d4c044cbf1648f88995ca6cbe6a358f766 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Fri, 23 Dec 2022 15:01:07 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Properly=20delete=20the?= =?UTF-8?q?=20LLVM=20directory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 931cc6d..63b28e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -302,6 +302,7 @@ async fn uninstall(args: UninstallOpts) -> Result<()> { if let Some(llvm_path) = config.llvm_path { info!("{} Deleting Xtensa LLVM", emoji::WRENCH); + let llvm_path = llvm_path.parent().unwrap(); config.llvm_path = None; config.save()?; remove_dir_all(&llvm_path)