Skip to content

Commit 37997fe

Browse files
committed
fix formatting issues
1 parent 19c68c7 commit 37997fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const prepare = require('./pg').prepareValue
44
const EventEmitter = require('events').EventEmitter
55
const util = require('util')
66

7-
var nextUniqueID = 1; // concept borrowed from org.postgresql.core.v3.QueryExecutorImpl
7+
var nextUniqueID = 1 // concept borrowed from org.postgresql.core.v3.QueryExecutorImpl
88

99
function Cursor (text, values, config) {
1010
EventEmitter.call(this)
@@ -18,14 +18,14 @@ function Cursor (text, values, config) {
1818
this._result = new Result(this._conf.rowMode)
1919
this._cb = null
2020
this._rows = null
21-
this._portal = null;
21+
this._portal = null
2222
}
2323

2424
util.inherits(Cursor, EventEmitter)
2525

2626
Cursor.prototype.submit = function (connection) {
2727
this.connection = connection
28-
this._portal = 'C_' + (nextUniqueID++);
28+
this._portal = 'C_' + (nextUniqueID++)
2929

3030
const con = connection
3131

@@ -40,7 +40,7 @@ Cursor.prototype.submit = function (connection) {
4040

4141
con.describe({
4242
type: 'P',
43-
name: this._portal // AWS Redshift requires a portal name
43+
name: this._portal // AWS Redshift requires a portal name
4444
}, true)
4545

4646
con.flush()

0 commit comments

Comments
 (0)