@@ -15,7 +15,7 @@ export class Setup extends BaseRepository<TSetupData> {
1515
1616 private webviewMessages : WebviewMessages
1717 private showExperiments : ( ) => void
18- private getCliAccessible : ( ) => boolean
18+ private getCliCompatible : ( ) => boolean | undefined
1919 private getHasRoots : ( ) => boolean
2020 private getHasData : ( ) => boolean | undefined
2121
@@ -24,7 +24,7 @@ export class Setup extends BaseRepository<TSetupData> {
2424 webviewIcon : Resource ,
2525 initProject : ( ) => void ,
2626 showExperiments : ( ) => void ,
27- getCliAccessible : ( ) => boolean ,
27+ getCliCompatible : ( ) => boolean | undefined ,
2828 getHasRoots : ( ) => boolean ,
2929 getHasData : ( ) => boolean | undefined
3030 ) {
@@ -36,7 +36,7 @@ export class Setup extends BaseRepository<TSetupData> {
3636 this . sendDataToWebview ( )
3737 }
3838 this . showExperiments = showExperiments
39- this . getCliAccessible = getCliAccessible
39+ this . getCliCompatible = getCliCompatible
4040 this . getHasRoots = getHasRoots
4141 this . getHasData = getHasData
4242 }
@@ -50,13 +50,13 @@ export class Setup extends BaseRepository<TSetupData> {
5050 }
5151
5252 public async sendDataToWebview ( ) {
53- const cliAccessible = this . getCliAccessible ( )
53+ const cliCompatible = this . getCliCompatible ( )
5454 const projectInitialized = this . getHasRoots ( )
5555 const hasData = this . getHasData ( )
5656
5757 if (
5858 this . webview ?. isVisible &&
59- cliAccessible &&
59+ cliCompatible &&
6060 projectInitialized &&
6161 hasData
6262 ) {
@@ -68,7 +68,7 @@ export class Setup extends BaseRepository<TSetupData> {
6868 const pythonBinPath = await findPythonBinForInstall ( )
6969
7070 this . webviewMessages . sendWebviewMessage (
71- cliAccessible ,
71+ cliCompatible ,
7272 projectInitialized ,
7373 isPythonExtensionInstalled ( ) ,
7474 getBinDisplayText ( pythonBinPath ) ,
0 commit comments