File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
extensions/ql-vscode/src/variant-analysis Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -221,9 +221,17 @@ export class VariantAnalysisManager
221221 const packDownloadResult = await this . cliServer . packDownload ( [ packName ] ) ;
222222 const downloadedPack = packDownloadResult . packs [ 0 ] ;
223223
224- const packDir = `${ packDownloadResult . packDir } /${ downloadedPack . name } /${ downloadedPack . version } ` ;
224+ const packDir = join (
225+ packDownloadResult . packDir ,
226+ downloadedPack . name ,
227+ downloadedPack . version ,
228+ ) ;
225229
226- const suitePath = `${ packDir } /codeql-suites/${ language } -code-scanning.qls` ;
230+ const suitePath = join (
231+ packDir ,
232+ "codeql-suites" ,
233+ `${ language } -code-scanning.qls` ,
234+ ) ;
227235 const resolvedQueries = await this . cliServer . resolveQueries ( suitePath ) ;
228236
229237 const problemQueries =
You can’t perform that action at this time.
0 commit comments