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 {
135
135
// Check if the executable exists
136
136
async checkExecutableExists ( ) : Promise < boolean > {
137
137
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 ( ) ) } ` ) ;
139
139
if ( this . platform === 'win32' ) {
140
140
executablePath = path . join ( dirExecutablePath , 'cx.exe' ) ;
141
141
} else {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class CxWrapper {
61
61
62
62
async downloadIfNotInstalledCLI ( os : string ) {
63
63
64
- let cxInstaller = new CxInstaller ( os ) ;
64
+ const cxInstaller = new CxInstaller ( os ) ;
65
65
await cxInstaller . install ( '/resources' ) ;
66
66
}
67
67
You can’t perform that action at this time.
0 commit comments