Skip to content

Commit 9912fdb

Browse files
committed
Run tslint-fix
1 parent 978e5f1 commit 9912fdb

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/commands/importIdentifier.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import * as bent from 'bent';
12
import * as cheerio from 'cheerio';
23
import * as yaml from 'js-yaml';
34
import escapeRegExp from 'lodash-es/escapeRegExp';
45
import * as LRUCache from 'lru-cache';
5-
import * as bent from 'bent';
66
import * as vscode from 'vscode';
77
import { CommandNames } from './constants';
88

src/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ async function activateServerForFolder(context: ExtensionContext, uri: Uri, fold
276276
* Deactivate each of the LSP servers.
277277
*/
278278
export async function deactivate() {
279-
const promises: Array<Thenable<void>> = [];
279+
const promises: Thenable<void>[] = [];
280280
for (const client of clients.values()) {
281281
if (client) {
282282
promises.push(client.stop());

src/hlsBinaries.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,12 @@ export async function findHaskellLanguageServer(
280280
await upgradeGHCup(context, logger);
281281

282282
// boring init
283-
let latestHLS: string | undefined | null = undefined;
284-
let latestCabal: string | undefined | null = undefined;
285-
let latestStack: string | undefined | null = undefined;
283+
let latestHLS: string | undefined | null;
284+
let latestCabal: string | undefined | null;
285+
let latestStack: string | undefined | null;
286286
let recGHC: string | undefined | null = 'recommended';
287-
let projectHls: string | undefined | null = undefined;
288-
let projectGhc: string | undefined | null = undefined;
287+
let projectHls: string | undefined | null;
288+
let projectGhc: string | undefined | null;
289289

290290
// support explicit toolchain config
291291
const toolchainConfig: ToolConfig = new Map(

0 commit comments

Comments
 (0)