summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/no-self-assign.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/no-self-assign.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/no-self-assign.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-self-assign.js b/tools/node_modules/eslint/lib/rules/no-self-assign.js
index 8bc7afbe38..5b74ca8fbc 100644
--- a/tools/node_modules/eslint/lib/rules/no-self-assign.js
+++ b/tools/node_modules/eslint/lib/rules/no-self-assign.js
@@ -15,7 +15,7 @@ const astUtils = require("../util/ast-utils");
// Helpers
//------------------------------------------------------------------------------
-const SPACES = /\s+/g;
+const SPACES = /\s+/gu;
/**
* Checks whether the property of 2 given member expression nodes are the same