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 Nov 17, 2019
1 parent 64cf00b commit 72bbd5c
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 72bbd5c

Please sign in to comment.