Skip to content

Commit 2b52a3f

Browse files
khoumanitargos
authored andcommitted
test: change var to const in parallel/test-stream-transform-final*
PR-URL: #30448 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 04ffa49 commit 2b52a3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-stream-transform-final-sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let state = 0;
77

88
/*
99
What you do
10-
var stream = new stream.Transform({
10+
const stream = new stream.Transform({
1111
transform: function transformCallback(chunk, _, next) {
1212
// part 1
1313
this.push(chunk);

test/parallel/test-stream-transform-final.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let state = 0;
77

88
/*
99
What you do
10-
var stream = new stream.Transform({
10+
const stream = new stream.Transform({
1111
transform: function transformCallback(chunk, _, next) {
1212
// part 1
1313
this.push(chunk);

0 commit comments

Comments
 (0)