Skip to content

Commit

Permalink
Fix writing of check-update pref
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-mccall committed May 6, 2020
1 parent df77d21 commit 562ad5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ class UI {
common.installLatest(this);
}
else if (response == dontCheck) {
this.config.set('checkUpdates', false);
this.config.update('checkUpdates', false,
vscode.ConfigurationTarget.Global);
}
}

Expand Down

0 comments on commit 562ad5e

Please sign in to comment.