Skip to content
Permalink
Browse files

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>
  • Loading branch information
Kenza Houmani authored and MylesBorins committed Nov 12, 2019
1 parent 2e0ef36 commit 2e6b3be8dddfaad24d37c46fe6760d56492c2a9c
@@ -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);
@@ -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);

0 comments on commit 2e6b3be

Please sign in to comment.
You can’t perform that action at this time.