We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfc5f49 commit 70d533fCopy full SHA for 70d533f
extensions/ql-vscode/src/helpers.ts
@@ -810,7 +810,9 @@ export function getFirstWorkspaceFolder() {
810
// For the vscode-codeql-starter repo, the first folder will be a ql pack
811
// so we need to get the parent folder
812
if (
813
- firstFolderFsPath.includes("vscode-codeql-starter/codeql-custom-queries")
+ firstFolderFsPath.includes(
814
+ join("vscode-codeql-starter", "codeql-custom-queries"),
815
+ )
816
) {
817
// return the parent folder
818
return dirname(firstFolderFsPath);
0 commit comments