Skip to content

Commit 0bc09a8

Browse files
committed
use const where applicable in Compilation
1 parent e4c8fc3 commit 0bc09a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Compilation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class Compilation extends Tapable {
199199
let _this = this;
200200
const start = _this.profile && +new Date();
201201

202-
let factories = [];
202+
const factories = [];
203203
for(let i = 0; i < dependencies.length; i++) {
204204
const factory = _this.dependencyFactories.get(dependencies[i][0].constructor);
205205
if(!factory) {

0 commit comments

Comments
 (0)