File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import * as crypto from 'crypto';
22import * as fs from 'fs-extra';
33import * as path from 'path';
44import * as tmp from 'tmp';
5- import { promisify } from 'util';
65import * as vscode from 'vscode';
76import { ErrorCodes, ResponseError } from 'vscode-languageclient';
87
@@ -224,7 +223,7 @@ async function convertToQlPath(filePath: string): Promise<string> {
224223 } else {
225224 const dir = await convertToQlPath(path.dirname(filePath));
226225 const fileName = path.basename(filePath);
227- const fileNames = await promisify<string, string[]>( fs.readdir) (dir);
226+ const fileNames = await fs.readdir(dir);
228227 for (const name of fileNames) {
229228 // Leave the locale argument empty so that the default OS locale is used.
230229 // We do this because this operation works on filesystem entities, which
You can’t perform that action at this time.
0 commit comments