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 <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 04ffa49 commit 2b52a3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: 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);

Diff for: 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)