Skip to content

Commit 6d308f8

Browse files
author
Dave Bartolomeo
committed
Add missing change
1 parent 61933c3 commit 6d308f8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

extensions/ql-vscode/test/vscode-tests/utils/bundled-pack-helpers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export interface QueryPackFS {
88
fileExists: (name: string) => boolean;
99
fileContents: (name: string) => Buffer;
1010
directoryContents: (name: string) => string[];
11+
allFiles: () => string[];
1112
}
1213

1314
export async function readBundledPack(
@@ -82,5 +83,8 @@ export async function readBundledPack(
8283
)
8384
.map((dir) => dir.substring(name.length + 1));
8485
},
86+
allFiles: (): string[] => {
87+
return Object.keys(files);
88+
},
8589
};
8690
}

0 commit comments

Comments
 (0)