File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ export class CodeQLCliServer implements Disposable {
240240 /**
241241 * Restart the server when the current command terminates
242242 */
243- private restartCliServer ( ) : void {
243+ restartCliServer ( ) : void {
244244 const callback = ( ) : void => {
245245 try {
246246 this . killProcessIfRunning ( ) ;
Original file line number Diff line number Diff line change @@ -938,6 +938,8 @@ async function activateWithInstalledDistribution(
938938 progress : ProgressCallback ,
939939 token : CancellationToken
940940 ) => {
941+ // We restart the CLI server too, to ensure they are the same version
942+ cliServer . restartCliServer ( ) ;
941943 await qs . restartQueryServer ( progress , token ) ;
942944 void showAndLogInformationMessage ( 'CodeQL Query Server restarted.' , {
943945 outputLogger : queryServerLogger ,
You can’t perform that action at this time.
0 commit comments