Skip to content

Commit

Permalink
tools: change var to const in ./eslint-rules
Browse files Browse the repository at this point in the history
PR-URL: #13732
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
BridgeAR authored and Fishrock123 committed Jul 19, 2017
1 parent 9559c89 commit 1aa6bcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/eslint-rules/required-modules.js
Original file line number Diff line number Diff line change
@@ -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) {

0 comments on commit 1aa6bcd

Please sign in to comment.