|
|
@ -1,4 +1,5 @@ |
|
|
|
import { ConfigurationTarget } from 'vscode'; |
|
|
|
import { resetAvatarCache } from '../avatars'; |
|
|
|
import { configuration } from '../configuration'; |
|
|
|
import { Commands } from '../constants'; |
|
|
|
import type { Container } from '../container'; |
|
|
@ -6,6 +7,17 @@ import { command } from '../system/command'; |
|
|
|
import { Command } from './base'; |
|
|
|
|
|
|
|
@command() |
|
|
|
export class ResetAvatarCacheCommand extends Command { |
|
|
|
constructor(private readonly container: Container) { |
|
|
|
super(Commands.ResetAvatarCache); |
|
|
|
} |
|
|
|
|
|
|
|
execute() { |
|
|
|
resetAvatarCache('all'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@command() |
|
|
|
export class ResetSuppressedWarningsCommand extends Command { |
|
|
|
constructor(private readonly container: Container) { |
|
|
|
super(Commands.ResetSuppressedWarnings); |