@@ -6,7 +6,7 @@ import * as path from 'path';
6
6
import { match } from 'ts-pattern' ;
7
7
import * as url from 'url' ;
8
8
import { promisify } from 'util' ;
9
- import { ExtensionContext , ProgressLocation , Uri , window , workspace , WorkspaceFolder , ConfigurationTarget } from 'vscode' ;
9
+ import { ConfigurationTarget , ExtensionContext , ProgressLocation , Uri , window , workspace , WorkspaceFolder } from 'vscode' ;
10
10
import { Logger } from 'vscode-languageclient' ;
11
11
import { downloadFile , executableExists , httpsGetSilently , resolvePathPlaceHolders } from './utils' ;
12
12
@@ -223,7 +223,7 @@ export async function findHaskellLanguageServer(
223
223
[ 'whereis' , 'hls' ] ,
224
224
undefined ,
225
225
false ,
226
- ( err , stdout , _stderr , resolve , _reject ) => { err ? resolve ( '' ) : resolve ( stdout ?. trim ( ) ) }
226
+ ( err , stdout , _stderr , resolve , _reject ) => { err ? resolve ( '' ) : resolve ( stdout ?. trim ( ) ) ; }
227
227
) ;
228
228
if ( wrapper === '' ) {
229
229
// install recommended HLS... even if this doesn't support the project GHC, because
@@ -324,7 +324,6 @@ async function getLatestSuitableHLS(
324
324
return installableHls ;
325
325
}
326
326
327
-
328
327
/**
329
328
* Obtain the project ghc version from the HLS - Wrapper.
330
329
* Also, serves as a sanity check.
@@ -400,7 +399,6 @@ export async function getGHCup(context: ExtensionContext, logger: Logger): Promi
400
399
return localGHCup ;
401
400
}
402
401
403
-
404
402
const storagePath : string = await getStoragePath ( context ) ;
405
403
logger . info ( `Using ${ storagePath } to store downloaded binaries` ) ;
406
404
0 commit comments