Skip to content

Commit 7bd4309

Browse files
committed
Remove dead code path
1 parent de0bf3e commit 7bd4309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ function Postgres(url, options) {
434434
return { type: 0, value: x }
435435

436436
const value = x.type ? x.value : x
437-
, type = x.array ? typeArrayMap[x.type || inferType(value)] : (x.type || inferType(value))
437+
, type = x.array ? typeArrayMap[x.type] : (x.type || inferType(value))
438438

439439
return {
440440
type,

0 commit comments

Comments
 (0)