Add sass support

This commit is contained in:
YuKun Liu committed 2022-05-08 00:56:22 +08:00
1 parent ea723f64cd
commit f7f1d90520
3 files changed
+25 -4

No files matched your search

+5 -2
View File
@@ -27,7 +27,11 @@ impl Tool {
}
}
Tool::AppPath {} => {
println!("{}", tools::tools_path().to_str().unwrap());
if let Some(v) = tools::tools_path().to_str() {
println!("{}", v);
} else {
log::error!("Tools path get failed.");
}
}
Tool::Add { name } => {
let tool_list = tools::tool_list();
@@ -58,7 +62,6 @@ impl Tool {
log::info!("Tool {name} install successfully!");
}
}
Ok(())
}
}