File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -345,14 +345,6 @@ export async function activate(
345345 codeQlExtension . variantAnalysisManager ,
346346 ) ;
347347
348- try {
349- await prepareCodeTour ( ) ;
350- } catch ( e : unknown ) {
351- void extLogger . log (
352- `Could not open tutorial workspace automatically: ${ getErrorMessage ( e ) } ` ,
353- ) ;
354- }
355-
356348 return codeQlExtension ;
357349}
358350
@@ -540,6 +532,14 @@ async function installOrUpdateThenTryActivate(
540532) : Promise < CodeQLExtensionInterface | Record < string , never > > {
541533 await installOrUpdateDistribution ( ctx , distributionManager , config ) ;
542534
535+ try {
536+ await prepareCodeTour ( ) ;
537+ } catch ( e : unknown ) {
538+ void extLogger . log (
539+ `Could not open tutorial workspace automatically: ${ getErrorMessage ( e ) } ` ,
540+ ) ;
541+ }
542+
543543 // Display the warnings even if the extension has already activated.
544544 const distributionResult =
545545 await getDistributionDisplayingDistributionWarnings ( distributionManager ) ;
You can’t perform that action at this time.
0 commit comments