Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fix crash when dry running vscode (fix #632)
Browse files Browse the repository at this point in the history
  • Loading branch information
r-darwish committed Feb 15, 2021
1 parent 19bc4d3 commit 5361695
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5361695

Please sign in to comment.