mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
fix #120680.
This commit is contained in:
@@ -425,7 +425,11 @@ export function createExtHostComments(mainContext: IMainContext, commands: ExtHo
|
||||
formattedModifications.label = this.label;
|
||||
}
|
||||
if (modified('contextValue')) {
|
||||
formattedModifications.contextValue = this.contextValue;
|
||||
/*
|
||||
* null -> cleared contextValue
|
||||
* undefined -> no change
|
||||
*/
|
||||
formattedModifications.contextValue = this.contextValue ?? null;
|
||||
}
|
||||
if (modified('comments')) {
|
||||
formattedModifications.comments =
|
||||
|
||||
Reference in New Issue
Block a user