Skip to content

Commit 59c57e1

Browse files
author
Eric Amodio
committed
Stringifies non-intrinsic config in context keys
1 parent 9f29782 commit 59c57e1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/vs/platform/contextkey/browser/contextKeyService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ class ConfigAwareContextValuesContainer extends Context {
142142
case 'string':
143143
value = configValue;
144144
break;
145+
default:
146+
value = JSON.stringify(configValue);
145147
}
146148

147149
this._values.set(key, value);

0 commit comments

Comments
 (0)