Skip to content

Commit

Permalink
context keys: fix: add serialize() support for ContextKeyNotRegexExpr
Browse files Browse the repository at this point in the history
Fixes #180012
  • Loading branch information
ulugbekna committed Apr 25, 2023
1 parent 4308681 commit 2764bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/platform/contextkey/common/contextkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,7 @@ export class ContextKeyNotRegexExpr implements IContextKeyExpression {
}

public serialize(): string {
throw new Error('Method not implemented.');
return `!(${this._actual.serialize()})`;
}

public keys(): string[] {
Expand Down

0 comments on commit 2764bfe

Please sign in to comment.