@@ -100,13 +100,15 @@ pub fn run_vscode(run_type: RunType) -> Result<()> {
|
|||||||
.args(&["--list-extensions"])
|
.args(&["--list-extensions"])
|
||||||
.check_output()?;
|
.check_output()?;
|
||||||
|
|
||||||
|
let mut args = vec!["--force"];
|
||||||
|
|
||||||
for plugin in plugins.lines() {
|
for plugin in plugins.lines() {
|
||||||
run_type
|
args.push("--install-extension");
|
||||||
.execute(&vscode)
|
args.push(plugin);
|
||||||
.args(&["--force", "--install-extension", plugin])
|
|
||||||
.check_run()?;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run_type.execute(&vscode).args(args).check_run()?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user