Skip to content

Commit 616804d

Browse files
committed
fix jshint errors for lib/copystream.js
1 parent cedcf0c commit 616804d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/copystream.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var CopyFromStream = function () {
1414
util.inherits(CopyFromStream, Stream);
1515
CopyFromStream.prototype._writable = function () {
1616
return !(this._finished || this._error);
17-
}
17+
};
1818
CopyFromStream.prototype.startStreamingToConnection = function (connection) {
1919
if (this._error) {
2020
return;
@@ -65,7 +65,7 @@ CopyFromStream.prototype._endIfNeedAndPossible = function () {
6565
this._finishedSent = true;
6666
this._connection.endCopyFrom();
6767
}
68-
}
68+
};
6969
CopyFromStream.prototype.write = function (string, encoding) {
7070
if (this._error || this._finished) {
7171
return false;
@@ -79,7 +79,7 @@ CopyFromStream.prototype.end = function (string, encondig) {
7979
this._finished = true;
8080
if (string !== undefined) {
8181
this._handleChunk.apply(this, arguments);
82-
};
82+
}
8383
this._endIfNeedAndPossible();
8484
};
8585
CopyFromStream.prototype.error = function (error) {
@@ -123,7 +123,7 @@ CopyToStream.prototype._outputDataChunk = function () {
123123
};
124124
CopyToStream.prototype._readable = function () {
125125
return !this._finished && !this._error;
126-
}
126+
};
127127
CopyToStream.prototype.error = function (error) {
128128
if (!this.readable) {
129129
return false;

0 commit comments

Comments
 (0)