tools: change var to const in ./eslint-rules

PR-URL: https://github.com/nodejs/node/pull/13732
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
Ruben Bridgewater authored and Refael Ackermann committed 2017-07-02 19:27:03 -04:00
1 parent a7e1ceee8d
commit ea67c27168
1 file changed
+2 -2
+2 -2
View File
@@ -4,7 +4,7 @@
*/
'use strict';
var path = require('path');
const path = require('path');
//------------------------------------------------------------------------------
// Rule Definition
@@ -14,7 +14,7 @@ module.exports = function(context) {
// trim required module names
var requiredModules = context.options;
var foundModules = [];
const foundModules = [];
// if no modules are required we don't need to check the CallExpressions
if (requiredModules.length === 0) {