Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttrinh committed Feb 15, 2024
1 parent 009de65 commit f9f68ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions packages/driver/src/conUtils.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import { getConnectArgumentsParser } from "./conUtils";

const projectDirCache = new Map<string, string | null>();

async function findProjectDir(required: boolean = true): Promise<string | null> {
async function findProjectDir(
required: boolean = true
): Promise<string | null> {
if (!required && !hasFSReadPermission()) {
return null;
}
Expand Down Expand Up @@ -57,7 +59,5 @@ export const serverUtils = {
searchConfigDir: platform.searchConfigDir,
};

export const makeConnectArgumentsParser = () => getConnectArgumentsParser(
serverUtils,
process.env
);
export const makeConnectArgumentsParser = () =>
getConnectArgumentsParser(serverUtils, process.env);
4 changes: 1 addition & 3 deletions packages/driver/src/nodeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ class ClientPool extends BaseClientPool {
_connectWithTimeout = RawConnection.connectWithTimeout.bind(RawConnection);
}

export function createClient(
options?: string | ConnectOptions | null
): Client {
export function createClient(options?: string | ConnectOptions | null): Client {
return new Client(
new ClientPool(
parseConnectArguments,
Expand Down

0 comments on commit f9f68ba

Please sign in to comment.