File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
extensions/ql-vscode/src/vscode-tests Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { CodeQLExtensionInterface } from '../../extension';
13
13
import { setRemoteControllerRepo , setRemoteRepositoryLists } from '../../config' ;
14
14
import { UserCancellationException } from '../../commandRunner' ;
15
15
16
- describe . only ( 'Remote queries' , function ( ) {
16
+ describe ( 'Remote queries' , function ( ) {
17
17
const baseDir = path . join ( __dirname , '../../../src/vscode-tests/cli-integration' ) ;
18
18
19
19
let sandbox : sinon . SinonSandbox ;
Original file line number Diff line number Diff line change @@ -58,6 +58,12 @@ export async function ensureCli(useCli: boolean) {
58
58
return ;
59
59
}
60
60
61
+ if ( 'CODEQL_PATH' in process . env ) {
62
+ const executablePath = process . env . CODEQL_PATH ;
63
+ console . log ( `Using existing CLI at ${ executablePath } ` ) ;
64
+ return ;
65
+ }
66
+
61
67
const assetName = DistributionManager . getRequiredAssetName ( ) ;
62
68
const url = getCliDownloadUrl ( assetName ) ;
63
69
const unzipDir = getCliUnzipDir ( ) ;
You can’t perform that action at this time.
0 commit comments