mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-28 13:20:41 +00:00
fix: 🐛 Properly delete the LLVM directory
This commit is contained in:
parent
299494e913
commit
914712d4c0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user