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 <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>
  • 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.