mirror of
https://github.com/Azure/setup-helm.git
synced 2026-09-03 13:39:20 +00:00
+1
-1
@@ -41,7 +41,7 @@ let tokenize;
|
||||
return "keyword";
|
||||
}
|
||||
|
||||
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.substr(offset - 2, 2) == "</")) {
|
||||
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) == "</")) {
|
||||
return "jsxIdentifier";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user