Skip to content

Commit

Permalink
fix: use toml output for settings view
Browse files Browse the repository at this point in the history
  • Loading branch information
hverlin committed Nov 30, 2024
1 parent 809e99f commit 335b038
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/miseService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ export class MiseService {
}

if (suggestion === "Update Mise") {
await this.runMiseToolActionInConsole("self-update");
await this.runMiseToolActionInConsole("self-update -y");
}

if (suggestion === "Show changelog") {
Expand Down Expand Up @@ -694,8 +694,8 @@ export class MiseService {

const version = await this.getParsedMiseVersion();
if (version && isVersionGreaterOrEqualThan(version, [2024, 11, 34])) {
const { stdout } = await this.execMiseCommand("settings --all --json");
return JSON.parse(stdout);
const { stdout } = await this.execMiseCommand("settings --all --toml");
return parse(stdout);
}

const { stdout } = await this.execMiseCommand("settings");
Expand Down

0 comments on commit 335b038

Please sign in to comment.