File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ export class CxInstaller {
135135 // Check if the executable exists
136136 async checkExecutableExists ( ) : Promise < boolean > {
137137 let executablePath ;
138- let dirExecutablePath = path . join ( __dirname , `/resources/${ this . removeExtension ( await this . getCLIExecutableName ( ) ) } ` ) ;
138+ const dirExecutablePath = path . join ( __dirname , `/resources/${ this . removeExtension ( await this . getCLIExecutableName ( ) ) } ` ) ;
139139 if ( this . platform === 'win32' ) {
140140 executablePath = path . join ( dirExecutablePath , 'cx.exe' ) ;
141141 } else {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class CxWrapper {
6161
6262 async downloadIfNotInstalledCLI ( os : string ) {
6363
64- let cxInstaller = new CxInstaller ( os ) ;
64+ const cxInstaller = new CxInstaller ( os ) ;
6565 await cxInstaller . install ( '/resources' ) ;
6666 }
6767
You can’t perform that action at this time.
0 commit comments