mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
debt - drop state cleanup now (#208972)
This commit is contained in:
parent
f0b4597c2c
commit
1cb05f8093
|
@ -47,8 +47,7 @@ export class StatusbarViewModel extends Disposable {
|
|||
const hiddenRaw = this.storageService.get(StatusbarViewModel.HIDDEN_ENTRIES_KEY, StorageScope.PROFILE);
|
||||
if (hiddenRaw) {
|
||||
try {
|
||||
const hiddenArray: string[] = JSON.parse(hiddenRaw);
|
||||
this.hidden = new Set(hiddenArray.filter(entry => !entry.startsWith('status.workspaceTrust.'))); // TODO@bpasero remove this migration eventually
|
||||
this.hidden = new Set(JSON.parse(hiddenRaw));
|
||||
} catch (error) {
|
||||
// ignore parsing errors
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue