0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

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 2017-06-19 17:56:04 +02:00 committed by Refael Ackermann
parent a7e1ceee8d
commit ea67c27168
No known key found for this signature in database
GPG Key ID: CD704BD80FDDDB64

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) {