classes are not hoisted
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
exports = module.exports = ProgressStream;
|
||||
|
||||
const stream = require('stream'),
|
||||
TransformStream = stream.Transform;
|
||||
|
||||
@@ -42,3 +40,5 @@ class ProgressStream extends TransformStream {
|
||||
callback(null);
|
||||
}
|
||||
}
|
||||
|
||||
exports = module.exports = ProgressStream;
|
||||
|
||||
Reference in New Issue
Block a user