Skip to content

Commit

Permalink
test: change var to const in parallel/test-stream-transform-final*
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
khoumani authored and MylesBorins committed Dec 17, 2019
1 parent 2e0ef36 commit 2e6b3be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-stream-transform-final-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let state = 0;

/*
What you do
var stream = new stream.Transform({
const stream = new stream.Transform({
transform: function transformCallback(chunk, _, next) {
// part 1
this.push(chunk);
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-stream-transform-final.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let state = 0;

/*
What you do
var stream = new stream.Transform({
const stream = new stream.Transform({
transform: function transformCallback(chunk, _, next) {
// part 1
this.push(chunk);
Expand Down

0 comments on commit 2e6b3be

Please sign in to comment.