File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ module.exports = class RuleSet {
104
104
if ( typeof rule !== "object" )
105
105
throw new Error ( "Unexcepted " + typeof rule + " when object was expected as rule (" + rule + ")" ) ;
106
106
107
- let newRule = { } ;
107
+ const newRule = { } ;
108
108
let useSource ;
109
109
let resourceSource ;
110
110
let condition ;
@@ -265,7 +265,7 @@ module.exports = class RuleSet {
265
265
return RuleSet . normalizeUseItemString ( item ) ;
266
266
}
267
267
268
- let newItem = { } ;
268
+ const newItem = { } ;
269
269
270
270
if ( item . options && item . query )
271
271
throw new Error ( "Provided options and query in use" ) ;
@@ -312,7 +312,7 @@ module.exports = class RuleSet {
312
312
if ( typeof condition !== "object" )
313
313
throw Error ( "Unexcepted " + typeof condition + " when condition was expected (" + condition + ")" ) ;
314
314
315
- let matchers = [ ] ;
315
+ const matchers = [ ] ;
316
316
Object . keys ( condition ) . forEach ( key => {
317
317
const value = condition [ key ] ;
318
318
switch ( key ) {
You can’t perform that action at this time.
0 commit comments