jshint happy

This commit is contained in:
Simon Martín 2018-06-21 13:41:13 +02:00
parent bafcb8051f
commit 327aaf3450

View File

@ -12,8 +12,8 @@ module.exports = class StreamCopy {
this.sql = sql; this.sql = sql;
this.connectionClosedByClient = false; this.connectionClosedByClient = false;
this.copyToStream; this.copyToStream = null;
this.copyFromStream; this.copyFromStream = null;
} }
static get ACTION_TO() { static get ACTION_TO() {
@ -61,7 +61,7 @@ module.exports = class StreamCopy {
pgstream pgstream
.on('end', () => done()) .on('end', () => done())
.on('error', err => done(err)) .on('error', err => done(err))
.on('cancelQuery', err => { .on('cancelQuery', () => {
client.connection.sendCopyFail('CARTO SQL API: Connection closed by client'); client.connection.sendCopyFail('CARTO SQL API: Connection closed by client');
}); });