Skip to content

Commit 3da2d71

Browse files
committed
Resolve 'TransformStream is already defined' no-redeclare error by changing the variable name to StdlibTransformStream
1 parent fa5a475 commit 3da2d71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/bench/harness/lib/runner/create_stream.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
// MODULES //
2424

25-
TransformStream = require( '@stdlib/streams/node/transform' );
25+
var StdlibTransformStream = require( '@stdlib/streams/node/transform' );
2626
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
2727
var nextTick = require( './../utils/next_tick.js' );
2828

@@ -56,7 +56,7 @@ function createStream( options ) {
5656
} else {
5757
opts = {};
5858
}
59-
stream = new TransformStream( opts );
59+
stream = new StdlibTransformStream( opts );
6060
if ( opts.objectMode ) {
6161
id = 0;
6262
this.on( '_push', onPush );

0 commit comments

Comments
 (0)