You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

15 lines
494 B

import { ConfigurationTarget } from 'vscode';
import { configuration } from '../configuration';
import type { Container } from '../container';
import { command, Command, Commands } from './common';
@command()
export class ResetSuppressedWarningsCommand extends Command {
constructor(private readonly container: Container) {
super(Commands.ResetSuppressedWarnings);
}
async execute() {
void (await configuration.update('advanced.messages', undefined, ConfigurationTarget.Global));
}
}