File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
extensions/ql-vscode/test/vscode-tests/cli-integration Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change 1- import {
2- CancellationToken ,
3- ExtensionContext ,
4- Range ,
5- Uri ,
6- workspace ,
7- } from "vscode" ;
1+ import { CancellationToken , ExtensionContext , Range , Uri } from "vscode" ;
82import { join , dirname } from "path" ;
93import {
104 pathExistsSync ,
@@ -73,18 +67,7 @@ async function compileAndRunQuery(
7367 ) ;
7468
7569 case "debug" :
76- console . log ( "Running query in debug mode" ) ;
7770 return await withDebugController ( appCommands , async ( controller ) => {
78- console . log ( "Dumping dirty documents" ) ;
79- for ( const doc of workspace . textDocuments ) {
80- console . log (
81- `${ doc . isDirty ? "dirty" : "clean" } : ${ doc . uri . toString ( ) } ` ,
82- ) ;
83- if ( doc . isUntitled ) {
84- console . log ( `Content: ${ doc . getText ( ) } ` ) ;
85- }
86- }
87-
8871 await controller . startDebugging (
8972 {
9073 query : queryUri . fsPath ,
@@ -175,11 +158,8 @@ describeWithCodeQL()("Queries", () => {
175158 return ;
176159 }
177160
178- console . log ( `Starting 'no extensions' ${ mode } ` ) ;
179- console . log ( "Setting useExtensionPacks to false" ) ;
180161 await cli . setUseExtensionPacks ( false ) ;
181162 const parsedResults = await runQueryWithExtensions ( ) ;
182- console . log ( "Returned from runQueryWithExtensions" ) ;
183163 expect ( parsedResults ) . toEqual ( [ 1 ] ) ;
184164 } ) ;
185165
You can’t perform that action at this time.
0 commit comments