Skip to content

Commit e012a2a

Browse files
author
tomzu
committed
treat deprecation as permanent
1 parent 49889f7 commit e012a2a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/core/src/shared/lsp/manifestResolver.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,7 @@ export class ManifestResolver {
132132
private async saveManifest(etag: string, content: string): Promise<void> {
133133
const storage = this.getStorage()
134134

135-
// Only true when incoming manifest is deprecated & existing muteDeprecation is true (set by user)
136-
const muteDeprecation =
137-
(storage[this.lsName] ? storage[this.lsName].muteDeprecation : false) &&
138-
this.parseManifest(content).isManifestDeprecated
135+
const muteDeprecation = storage[this.lsName]?.muteDeprecation ?? false
139136

140137
globals.globalState.tryUpdate(manifestStorageKey, {
141138
...storage,

0 commit comments

Comments
 (0)