Skip to content

Commit d536aca

Browse files
committed
Apply npm run tslint-fix
1 parent 91d68a4 commit d536aca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/hlsBinaries.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as path from 'path';
66
import { match } from 'ts-pattern';
77
import * as url from 'url';
88
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';
1010
import { Logger } from 'vscode-languageclient';
1111
import { downloadFile, executableExists, httpsGetSilently, resolvePathPlaceHolders } from './utils';
1212

@@ -223,7 +223,7 @@ export async function findHaskellLanguageServer(
223223
['whereis', 'hls'],
224224
undefined,
225225
false,
226-
(err, stdout, _stderr, resolve, _reject) => { err ? resolve('') : resolve(stdout?.trim()) }
226+
(err, stdout, _stderr, resolve, _reject) => { err ? resolve('') : resolve(stdout?.trim()); }
227227
);
228228
if (wrapper === '') {
229229
// install recommended HLS... even if this doesn't support the project GHC, because
@@ -324,7 +324,6 @@ async function getLatestSuitableHLS(
324324
return installableHls;
325325
}
326326

327-
328327
/**
329328
* Obtain the project ghc version from the HLS - Wrapper.
330329
* Also, serves as a sanity check.
@@ -400,7 +399,6 @@ export async function getGHCup(context: ExtensionContext, logger: Logger): Promi
400399
return localGHCup;
401400
}
402401

403-
404402
const storagePath: string = await getStoragePath(context);
405403
logger.info(`Using ${storagePath} to store downloaded binaries`);
406404

0 commit comments

Comments
 (0)