Skip to content

Commit a270654

Browse files
committed
Fix lint
1 parent e7968c9 commit a270654

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/frontend.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function connect({ user, database, connection }) {
4949
.str(entries(Object.assign({
5050
user,
5151
database,
52-
client_encoding: '\'utf-8\'',
52+
client_encoding: '\'utf-8\''
5353
},
5454
connection
5555
)).filter(([, v]) => v).map(([k, v]) => k + N + v).join(N))

lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function Postgres(url, options) {
252252
}
253253

254254
function unsafe(xs, args) {
255-
return query({ raw: true, simple: !args }, connection || getConnection(), xs, args || [])
255+
return query({ raw: true, simple: !args }, connection || getConnection(), xs, args || [])
256256
}
257257

258258
function file(path, args, options) {
@@ -470,7 +470,7 @@ function parseOptions(uri = {}, options) {
470470
nonce : crypto.randomBytes(18).toString('base64'),
471471
transform : Object.assign({}, o.transform),
472472
connection : Object.assign({ application_name: 'postgres.js' }, o.connection),
473-
debug : o.debug,
473+
debug : o.debug
474474
},
475475
mergeUserTypes(o.types)
476476
)

0 commit comments

Comments
 (0)