Skip to content

Commit 0000859

Browse files
alvarptargos
authored andcommitted
fs: change var to let
PR-URL: #30407 Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent a628fdc commit 0000859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/fs/streams.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ WriteStream.prototype._writev = function(data, cb) {
337337
const chunks = new Array(len);
338338
let size = 0;
339339

340-
for (var i = 0; i < len; i++) {
340+
for (let i = 0; i < len; i++) {
341341
const chunk = data[i].chunk;
342342

343343
chunks[i] = chunk;

0 commit comments

Comments
 (0)