MCPcopy Create free account
hub / github.com/VSCodeConfigHelper/v4 / run

Method run

src-tauri/src/tasks/extension.rs:62–69  ·  view source on GitHub ↗
(&self, args: &[&str])

Source from the content-addressed store, hash-verified

60
61 #[allow(unused)]
62 fn run(&self, args: &[&str]) -> Result<String> {
63 let (suc, output) = self.run_lossy(args)?;
64 if suc {
65 Ok(output)
66 } else {
67 Err(anyhow!("安装扩展出现错误:{}", output))
68 }
69 }
70
71 /// 返回:(是否成功, stdout)
72 /// 因为有时这个命令的返回值不是 0,不知道为什么,总之目前先忽略它的返回值

Callers 1

guiFunction · 0.80

Calls 1

run_lossyMethod · 0.80

Tested by

no test coverage detected