Skip to content

Commit

Permalink
check linter
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed Sep 18, 2024
1 parent d386dc8 commit a5bd34b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/osinstaller/CxInstaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class CxInstaller {
// Check if the executable exists
async checkExecutableExists(): Promise<boolean> {
let executablePath;
let dirExecutablePath = path.join(__dirname, `/resources/${this.removeExtension(await this.getCLIExecutableName())}`);
const dirExecutablePath = path.join(__dirname, `/resources/${this.removeExtension(await this.getCLIExecutableName())}`);
if (this.platform === 'win32') {
executablePath = path.join(dirExecutablePath, 'cx.exe');
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/main/wrapper/CxWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class CxWrapper {

async downloadIfNotInstalledCLI(os: string){

let cxInstaller = new CxInstaller(os);
const cxInstaller = new CxInstaller(os);
await cxInstaller.install('/resources');
}

Expand Down

0 comments on commit a5bd34b

Please sign in to comment.