Skip to content

Commit

Permalink
style: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed May 6, 2024
1 parent bfffa85 commit f40a037
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,7 @@ pub fn run_vscode_extensions_update(ctx: &ExecutionContext) -> Result<()> {
return Err(SkipStep(String::from("Should not run in WSL")).into());
}

let vscode = require("code").or_else(
|_| require("codium")
)?;
let vscode = require("code").or_else(|_| require("codium"))?;

Check warning on line 357 in src/steps/generic.rs

View check run for this annotation

Codecov / codecov/patch

src/steps/generic.rs#L357

Added line #L357 was not covered by tests

// Vscode has update command only since 1.86 version ("january 2024" update), disable the update for prior versions
// Use command `code --version` which returns 3 lines: version, git commit, instruction set. We parse only the first one
Expand Down

0 comments on commit f40a037

Please sign in to comment.