Skip to content

Commit

Permalink
fix: settings cli now properly sets overrides, resolves #90
Browse files Browse the repository at this point in the history
  • Loading branch information
daretodave committed May 6, 2024
1 parent dc6647f commit e4e34c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/framework/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class Settings {

set<T>(path: string, value: T): void {
setFromPath(this.properties, path, value)
setFromPath(this.overrides, path, value)
}

async save(): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion src/main/framework/system-commands/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default {

context.out(`value '${path}' set and saved`)

await context.workspace.reload(RunnerWindow)
await context.workspace.applySettings(RunnerWindow)
}
}
}

0 comments on commit e4e34c0

Please sign in to comment.