File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1138,8 +1138,8 @@ export class CodeQLCliServer implements Disposable {
11381138 /**
11391139 * Gets information about available qlpacks
11401140 * @param additionalPacks A list of directories to search for qlpacks before searching in `searchPath`.
1141- * @param searchPath A list of directories to search for packs not found in `additionalPacks`. If undefined,
1142- * the default CLI search path is used .
1141+ * @param extensionPacksOnly Whether to only search for extension packs. If true, only extension packs will
1142+ * be returned. If false, all packs will be returned .
11431143 * @returns A dictionary mapping qlpack name to the directory it comes from
11441144 */
11451145 async resolveQlpacks (
Original file line number Diff line number Diff line change @@ -44,5 +44,9 @@ export function itWithCodeQL() {
4444}
4545
4646export async function skipIfTrue ( condition : Thenable < boolean > ) {
47- return ( await condition ) ? beforeEach ( ( ) => { } ) : beforeEach . skip ( ( ) => { } ) ;
47+ return beforeEach ( async ( ) => {
48+ if ( await condition ) {
49+ pending ( ) ;
50+ }
51+ } ) ;
4852}
You can’t perform that action at this time.
0 commit comments