Skip to content

Commit

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

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

// 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 7a43a45

Please sign in to comment.