Ver Fonte

Format code

YuKun Liu há 3 anos atrás
pai
commit
60bb0d9eb9
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      src/cli/tool/mod.rs
  2. 1 1
      src/tools.rs

+ 1 - 1
src/cli/tool/mod.rs

@@ -27,7 +27,7 @@ impl Tool {
                 }
             }
             Tool::AppPath {} => {
-                if let Some(v) =  tools::tools_path().to_str() {
+                if let Some(v) = tools::tools_path().to_str() {
                     println!("{}", v);
                 } else {
                     log::error!("Tools path get failed.");

+ 1 - 1
src/tools.rs

@@ -252,4 +252,4 @@ fn extract_zip(file: &Path, target: &Path) -> anyhow::Result<()> {
     }
 
     Ok(())
-}
+}