fix showUnused not work

This commit is contained in:
chemzqm 2019-07-20 03:08:11 +08:00
parent ee7f86fdf9
commit da55c11b9f

View file

@ -145,7 +145,7 @@ export class DiagnosticsManager {
.filter(x => { .filter(x => {
if (!enabled) { if (!enabled) {
// Still show unused // Still show unused
return x.tags && x.tags.includes(1) return x.code == 6133
} }
return enabled return enabled
}) })