We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ea215 commit 565ea0dCopy full SHA for 565ea0d
extensions/ql-vscode/src/cli.ts
@@ -604,7 +604,7 @@ export class CodeQLCliServer implements Disposable {
604
*/
605
resolveQlpacks(additionalPacks: string[], searchPath?: string[]): Promise<QlpacksInfo> {
606
const args = ['--additional-packs', additionalPacks.join(path.delimiter)];
607
- if (searchPath !== undefined) {
+ if (searchPath?.length) {
608
args.push('--search-path', path.join(...searchPath));
609
}
610
0 commit comments