Skip to content

Commit 6ef3951

Browse files
committed
Revert "check"
This reverts commit 1324f8e.
1 parent 1324f8e commit 6ef3951

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/osinstaller/CxInstaller.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ export class CxInstaller {
9898
fs.chmodSync(this.getExecutablePath(), 0o755);
9999
logger.info('Extracted CLI to:', this.resourceDirPath);
100100
} catch (error) {
101+
if (await this.checkLatestExecutableVersionIsInstalled()) {
102+
return;
103+
}
101104
logger.error('Error during installation:', error);
105+
process.exit(1);
102106
}
103107
}
104108

0 commit comments

Comments
 (0)