diff options
Diffstat (limited to 'tools/eslint/lib/rules/no-path-concat.js')
-rw-r--r-- | tools/eslint/lib/rules/no-path-concat.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint/lib/rules/no-path-concat.js b/tools/eslint/lib/rules/no-path-concat.js index f13d942674..72fba0b9cd 100644 --- a/tools/eslint/lib/rules/no-path-concat.js +++ b/tools/eslint/lib/rules/no-path-concat.js @@ -21,7 +21,7 @@ module.exports = { create: function(context) { - let MATCHER = /^__(?:dir|file)name$/; + const MATCHER = /^__(?:dir|file)name$/; //-------------------------------------------------------------------------- // Public @@ -31,7 +31,7 @@ module.exports = { BinaryExpression: function(node) { - let left = node.left, + const left = node.left, right = node.right; if (node.operator === "+" && |