Fix crash when dry running vscode (fix #632)

This commit is contained in:
Roey Darwish Dror
2021-02-15 09:03:28 +02:00
parent 19bc4d3855
commit 5361695252

View File

@@ -86,7 +86,10 @@ pub fn run_vscode(run_type: RunType) -> Result<()> {
print_separator("Visual Studio Code");
let plugins = run_type.execute(&vscode).args(&["--list-extensions"]).check_output()?;
let plugins = RunType::Wet
.execute(&vscode)
.args(&["--list-extensions"])
.check_output()?;
for plugin in plugins.lines() {
run_type