Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bombillazo committed Feb 9, 2024
1 parent b125ea4 commit 4aa65fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion connection/connection_params.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { parseConnectionUri } from "../utils/utils.ts";
import { ConnectionParamsError } from "../client/error.ts";
import { fromFileUrl, isAbsolute } from "../deps.ts";
import { Oid } from "../query/oid.ts";

/**
* The connection string must match the following URI structure. All parameters but database and user are optional
Expand Down
2 changes: 1 addition & 1 deletion query/decode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function decodeBinary() {
function decodeText(value: Uint8Array, typeOid: number, decoders?: Decoders) {
const strValue = decoder.decode(value);

if (!!decoders?.[typeOid]) {
if (decoders?.[typeOid]) {
return decoders[typeOid](strValue);
}

Expand Down

0 comments on commit 4aa65fc

Please sign in to comment.