Use strict

This commit is contained in:
Daniel García Aubert
2018-10-24 18:52:57 +02:00
parent d7e5c1383f
commit 8b355b6e72
6 changed files with 19 additions and 9 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
'use strict';
module.exports = function(txt, options) {
return new CopyStreamQuery(txt, options)
}
@@ -77,7 +79,7 @@ CopyStreamQuery.prototype._transform = function(chunk, enc, cb) {
case code.NoticeResponse:
case code.NotificationResponse:
break;
case code.ErrorResponse:
case code.CopyDone:
this.pushBufferIfneeded();