Browse Source

fix: Fix error at util.js

Remove git conflict text from the source code
Lucas de Souza 2 years ago
parent
commit
23722dfc05
1 changed files with 0 additions and 7 deletions
  1. 0 7
      js/util/utils.js

+ 0 - 7
js/util/utils.js

@@ -194,14 +194,7 @@ export function isKeyword (text) {
 
 export function isValidIdentifier (identifier_str) {
   const validRegex = /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(identifier_str);
-<<<<<<< HEAD
-  if (!validRegex) {
-    return false;
-  }
-  return !isKeyword(identifier_str);
-=======
   return validRegex && !isKeyword(identifier_str)
->>>>>>> 6c7838ce80a547899aaa9e4248f41136f41da1e2
 }
 
 export function getCodeEditorModeConfig () {