Skip to content

Commit a5bd34b

Browse files
committed
check linter
1 parent d386dc8 commit a5bd34b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/osinstaller/CxInstaller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

src/main/wrapper/CxWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)