We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dad33f commit c089135Copy full SHA for c089135
extensions/ql-vscode/src/vscode-tests/utils/bundled-pack-helpers.ts
@@ -10,7 +10,7 @@ export interface QueryPackFS {
10
directoryContents: (name: string) => string[];
11
}
12
13
-export const readBundledPack = async (base64Pack: string): Promise<QueryPackFS> => {
+export async function readBundledPack(base64Pack: string): Promise<QueryPackFS> {
14
const buffer = Buffer.from(base64Pack, 'base64');
15
const stream = Readable.from(buffer);
16
@@ -73,4 +73,4 @@ export const readBundledPack = async (base64Pack: string): Promise<QueryPackFS>
73
.map(dir => dir.substring(name.length + 1));
74
},
75
};
76
-};
+}
0 commit comments