File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ import { getConnectArgumentsParser } from "./conUtils";
1111
1212const projectDirCache = new Map < string , string | null > ( ) ;
1313
14- async function findProjectDir ( required : boolean = true ) : Promise < string | null > {
14+ async function findProjectDir (
15+ required : boolean = true
16+ ) : Promise < string | null > {
1517 if ( ! required && ! hasFSReadPermission ( ) ) {
1618 return null ;
1719 }
@@ -57,7 +59,5 @@ export const serverUtils = {
5759 searchConfigDir : platform . searchConfigDir ,
5860} ;
5961
60- export const makeConnectArgumentsParser = ( ) => getConnectArgumentsParser (
61- serverUtils ,
62- process . env
63- ) ;
62+ export const makeConnectArgumentsParser = ( ) =>
63+ getConnectArgumentsParser ( serverUtils , process . env ) ;
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ class ClientPool extends BaseClientPool {
1313 _connectWithTimeout = RawConnection . connectWithTimeout . bind ( RawConnection ) ;
1414}
1515
16- export function createClient (
17- options ?: string | ConnectOptions | null
18- ) : Client {
16+ export function createClient ( options ?: string | ConnectOptions | null ) : Client {
1917 return new Client (
2018 new ClientPool (
2119 parseConnectArguments ,
You can’t perform that action at this time.
0 commit comments