Skip to content

Commit 76a647c

Browse files
committed
Fix tested pattern
1 parent fb1af79 commit 76a647c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/typescript-basics/build/update-grammars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var updateGrammar = require('vscode-grammar-updater');
99

1010
function removeDom(grammar) {
1111
grammar.repository['support-objects'].patterns = grammar.repository['support-objects'].patterns.filter(pattern => {
12-
if (pattern.match && /\b(HTMLElement|ATTRIBUTE_NODE|stopImmediatePropagation)\b/g.test(pattern)) {
12+
if (pattern.match && /\b(HTMLElement|ATTRIBUTE_NODE|stopImmediatePropagation)\b/g.test(pattern.match)) {
1313
return false;
1414
}
1515
return true;

0 commit comments

Comments
 (0)