diff --git a/lib/_stream_transform.js b/lib/_stream_transform.js index d58f112acfb95a..50fc542b5abd91 100644 --- a/lib/_stream_transform.js +++ b/lib/_stream_transform.js @@ -58,6 +58,7 @@ function TransformState(stream) { this.transforming = false; this.writecb = null; this.writechunk = null; + this.writeencoding = null; } function afterTransform(stream, er, data) {