Skip to content

Commit 2057d8a

Browse files
alexdimaeamodio
authored andcommitted
Fix build
1 parent 8ca857a commit 2057d8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/platform/contextkey/common/contextkey.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ export class ContextKeyInExpr implements IContextKeyExpression {
448448
const item = context.getValue(this.key);
449449

450450
if (Array.isArray(source)) {
451-
return source.includes(item);
451+
return (source.indexOf(item) >= 0);
452452
}
453453

454454
if (typeof item === 'string' && typeof source === 'object' && source !== undefined && source !== null) {

0 commit comments

Comments
 (0)